Cleanup, wiki add

This commit is contained in:
Marwolf
2018-07-12 14:44:26 -04:00
parent 0d550e3c90
commit 2e9c422888
7 changed files with 36 additions and 57 deletions

View File

@@ -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;

View File

@@ -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;