diff --git a/nginx.conf b/nginx.conf index 3174048..c018b93 100644 --- a/nginx.conf +++ b/nginx.conf @@ -21,9 +21,6 @@ http { } 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; #tcp_nopush on; diff --git a/sites-available/kraut.space.conf b/sites-available/kraut.space.conf index 2568535..356a9f4 100644 --- a/sites-available/kraut.space.conf +++ b/sites-available/kraut.space.conf @@ -66,7 +66,6 @@ server { fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; fastcgi_param SCRIPT_FILENAME $request_filename; - fastcgi_param HTTPS $php_https; # DW checks $_SERVER['HTTPS'] fastcgi_intercept_errors on; fastcgi_pass unix:/var/run/php5-fpm.sock; # entferne Header "X-Powered-By: PHP/5.4.40-1~dotdeb+wheezy.1"