From da943b71f1221090447b9841a4cbe90c8de3ad76 Mon Sep 17 00:00:00 2001 From: Martin Ness Date: Thu, 26 May 2016 23:08:13 +0200 Subject: [PATCH] fastcgi_param HTTPS not more requierd in this section --- nginx.conf | 3 --- sites-available/kraut.space.conf | 1 - 2 files changed, 4 deletions(-) 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"