mirror of
https://github.com/pterodactyl/development.git
synced 2025-12-10 10:44:48 -06:00
add docs.pterodactyl.test config to app nginx, so it's actually reachable
This commit is contained in:
parent
31d859f68b
commit
f99509305c
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user