From 237bc51cd16aa4e0423d6b5e57833531d7389eab Mon Sep 17 00:00:00 2001 From: James Salter Date: Tue, 28 Sep 2021 13:25:43 +0100 Subject: [PATCH] Remove commented out cruft --- nginx/conf.d/default.conf | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index b2b539bfe4..bd2225ba4b 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name localhost; - #access_log /var/log/nginx/host.access.log main; - root /usr/share/nginx/html; index index.html index.htm; @@ -13,33 +11,8 @@ server { add_header Cache-Control "no-cache"; } - #error_page 404 /404.html; - # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; - - # proxy the PHP scripts to Apache listening on 127.0.0.1:80 - # - #location ~ \.php$ { - # proxy_pass http://127.0.0.1; - #} - - # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 - # - #location ~ \.php$ { - # root html; - # fastcgi_pass 127.0.0.1:9000; - # fastcgi_index index.php; - # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; - # include fastcgi_params; - #} - - # deny access to .htaccess files, if Apache's document root - # concurs with nginx's one - # - #location ~ /\.ht { - # deny all; - #} }