Cleanup, wiki add
This commit is contained in:
@@ -4,6 +4,7 @@ server_tokens off;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
||||
# Website and PHPBB forum over HTTP
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
@@ -19,16 +20,6 @@ server {
|
||||
root /var/www/html/public;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
}
|
||||
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
@@ -87,7 +78,8 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
# server { #SSL configuration below
|
||||
# Website and PHPBB forum over HTTP
|
||||
# server {
|
||||
# server_name localhost;
|
||||
|
||||
# listen 443 ssl;
|
||||
|
||||
@@ -4,6 +4,7 @@ server_tokens off;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
||||
# Website and PHPBB forum over HTTP
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
@@ -19,16 +20,6 @@ server {
|
||||
root /var/www/html/public;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
}
|
||||
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
@@ -87,7 +78,8 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
# server { #SSL configuration below
|
||||
# Website and PHPBB forum over HTTP
|
||||
# server {
|
||||
# server_name ${NGINX_HOST};
|
||||
|
||||
# listen 443 ssl;
|
||||
|
||||
Reference in New Issue
Block a user