fastcgi_param HTTPS not more requierd in this section
This commit is contained in:
parent
a54dd4345a
commit
da943b71f1
2 changed files with 0 additions and 4 deletions
|
@ -21,9 +21,6 @@ http {
|
||||||
}
|
}
|
||||||
proxy_cache_path /var/lib/nginx/cache keys_zone=statusATro01:10m;
|
proxy_cache_path /var/lib/nginx/cache keys_zone=statusATro01:10m;
|
||||||
|
|
||||||
# setzt die Variable php_https abhängig davon ob es sich um eine https Verbindung handelt, ist für die Weitergabe an php
|
|
||||||
map $scheme $php_https { default off; https on; }
|
|
||||||
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
#tcp_nopush on;
|
#tcp_nopush on;
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@ server {
|
||||||
fastcgi_buffers 16 16k;
|
fastcgi_buffers 16 16k;
|
||||||
fastcgi_buffer_size 32k;
|
fastcgi_buffer_size 32k;
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
fastcgi_param HTTPS $php_https; # DW checks $_SERVER['HTTPS']
|
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||||
# entferne Header "X-Powered-By: PHP/5.4.40-1~dotdeb+wheezy.1"
|
# entferne Header "X-Powered-By: PHP/5.4.40-1~dotdeb+wheezy.1"
|
||||||
|
|
Reference in a new issue