updated nginx state

This commit is contained in:
Paul 2020-10-28 22:56:28 +01:00
parent 1c65a5ebdb
commit 8a734d73b6
2 changed files with 5 additions and 4 deletions

View File

@ -33,9 +33,6 @@ http {
fastcgi_intercept_errors on; fastcgi_intercept_errors on;
fastcgi_read_timeout 300; fastcgi_read_timeout 300;
error_page 403 =403 /403.html;
error_page 404 =404 /fuck.html;
server { server {
listen 80 default_server; listen 80 default_server;
listen 443 default_server ssl; listen 443 default_server ssl;

View File

@ -13,6 +13,10 @@ server {
index index.php index.html; index index.php index.html;
location ~ setup.php$ {
return 403;
}
location ~ \.php?$ { location ~ \.php?$ {
include fastcgi_params; include fastcgi_params;
fastcgi_pass unix:{{ php_socket_file }}; fastcgi_pass unix:{{ php_socket_file }};