Skip to content

Commit 9f6f05c

Browse files
committed
[#4295] Tweaking notes language
1 parent 5165419 commit 9f6f05c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/configuration/web_server_configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ are:
207207
try_files $uri /app.php$is_args$args;
208208
}
209209
# DEV
210-
# Be sure to remove app_dev.php and config.php scripts when app is
211-
# deployed to PROD environment, this rule only must be placed on DEV
210+
# This rule should only be placed on your development environment
211+
# In production, don't include this and don't deploy app_dev.php or config.php
212212
location ~ ^/(app_dev|config)\.php(/|$) {
213213
fastcgi_pass unix:/var/run/php5-fpm.sock;
214214
fastcgi_split_path_info ^(.+\.php)(/.*)$;
@@ -223,9 +223,9 @@ are:
223223
include fastcgi_params;
224224
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
225225
fastcgi_param HTTPS off;
226-
# prevent explicit access and hide front controller
227-
# remove "internal" directive if you want to allow uri's like
226+
# Prevents URI's that include the front controller. This will 404:
228227
# http://domain.tld/app.php/some-path
228+
# Remove the internal directive to allow URI's like this
229229
internal;
230230
}
231231

0 commit comments

Comments
 (0)