diff --git a/docs/best-practices/deployment.md b/docs/best-practices/deployment.md index 69c915a..e147096 100644 --- a/docs/best-practices/deployment.md +++ b/docs/best-practices/deployment.md @@ -415,12 +415,16 @@ achieved by using an nginx configuration with the following contents: ``` server { root /home/alice/projects/acme/public; - index index.php index.html; + index index.html index.htm; location / { try_files $uri $uri/ @x; } + location ~* \.php$ { + try_files /dev/null @x; + } + location @x { proxy_pass http://localhost:8080; }