mirror of
https://github.com/pterodactyl/development.git
synced 2025-12-10 20:07:09 -06:00
23 lines
541 B
Plaintext
23 lines
541 B
Plaintext
server {
|
|
listen 80;
|
|
|
|
index index.html;
|
|
server_name docs.pterodactyl.test;
|
|
root /srv/documentation/.vuepress/dist;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8080;
|
|
}
|
|
|
|
# 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;
|
|
}
|
|
} |