Skip to content

Commit 10cb3ed

Browse files
committed
minor #5536 Removed reference to remove HTTPS off from nginx configuration (wjzijderveld)
This PR was merged into the 2.3 branch. Discussion ---------- Removed reference to remove HTTPS off from nginx configuration | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #5517 As explained and confirmed in #5517 the `https off` flag could be causing issues, in my opinion it's better to rely on the defaults distributions give. An alternative would be to replace the lines with `HTTPS $https;`, [nginx will fill $https depending on current request](http://nginx.org/en/docs/http/ngx_http_core_module.html#var_https). But I think it's less confusing if we just let the lines out of the example. Commits ------- 3878e14 Removed reference to remove HTTPS off from nginx configuration
2 parents ebe8775 + 3878e14 commit 10cb3ed

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cookbook/configuration/web_server_configuration.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,13 @@ The **minimum configuration** to get your application running under Nginx is:
269269
fastcgi_split_path_info ^(.+\.php)(/.*)$;
270270
include fastcgi_params;
271271
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
272-
fastcgi_param HTTPS off;
273272
}
274273
# PROD
275274
location ~ ^/app\.php(/|$) {
276275
fastcgi_pass unix:/var/run/php5-fpm.sock;
277276
fastcgi_split_path_info ^(.+\.php)(/.*)$;
278277
include fastcgi_params;
279278
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
280-
fastcgi_param HTTPS off;
281279
# Prevents URIs that include the front controller. This will 404:
282280
# http://domain.tld/app.php/some-path
283281
# Remove the internal directive to allow URIs like this

0 commit comments

Comments
 (0)