Skip to content

Commit 679bf64

Browse files
committed
Add Caddy section
1 parent 33ea1fa commit 679bf64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup/web_server_configuration.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The preferred way to develop your Symfony application is to use
66

77
However, when running the application in the production environment, you'll need
88
to use a fully-featured web server. This article describes how to use Symfony
9-
with Apache or Nginx.
9+
with Apache, Nginx or Caddy.
1010

1111
.. sidebar:: The public directory
1212

@@ -187,7 +187,7 @@ Caddy
187187

188188
When using Caddy on the server, you can use a configuration like this:
189189

190-
.. code-block:: raw
190+
.. code-block:: text
191191
192192
# /etc/caddy/Caddyfile
193193
example.com, www.example.com {
@@ -225,3 +225,4 @@ Caddy in a container infrastructure.
225225

226226
.. _`Nginx documentation`: https://www.nginx.com/resources/wiki/start/topics/recipes/symfony/
227227
.. _`How to run Symfony applications using NGINX Unit`: https://unit.nginx.org/howto/symfony/
228+
.. _`official Caddy documentation`: https://caddyserver.com/docs/

0 commit comments

Comments
 (0)