add docs.pterodactyl.test config to app nginx, so it's actually reachable

This commit is contained in:
Jakob Schrettenbrunner 2019-02-02 13:50:04 +01:00
parent 31d859f68b
commit f99509305c

View File

@ -40,4 +40,27 @@ server {
location ~ /\.ht {
deny all;
}
}
server {
listen 80;
index index.html;
server_name docs.pterodactyl.test;
location / {
proxy_pass http://host.pterodactyl.test:9090;
}
# security headers
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "same-origin" always;
add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
# . files
location ~ /\. {
deny all;
}
}