1
0

Challenge update, compatible new archi and less frustrating

This commit is contained in:
2019-03-31 18:56:07 +02:00
parent f495725c81
commit fabc56ae62
6 changed files with 19 additions and 33 deletions

View File

@ -4,9 +4,6 @@ server {
index index.php;
server_name localhost;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
root /webroot;
location ~ \.php$ {

View File

@ -23,22 +23,6 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# Headers
##
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##

View File

@ -2,7 +2,7 @@ expose_php = Off
error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors = Off
error_log = /var/log/php/php_error.log
ignore_repeated_errors = Off
allow_url_fopen = Off