2021-09-03 15:00:54 +02:00
|
|
|
server {
|
|
|
|
|
listen 80 default_server;
|
|
|
|
|
listen [::]:80 default_server;
|
|
|
|
|
|
|
|
|
|
root /usr/share/nginx/html;
|
2025-10-01 19:41:08 -03:00
|
|
|
location = /netbird.wasm {
|
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
|
default_type application/wasm;
|
|
|
|
|
}
|
2025-10-09 11:26:21 +02:00
|
|
|
location = /ironrdp-pkg/ironrdp_web_bg.wasm {
|
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
|
default_type application/wasm;
|
|
|
|
|
}
|
2021-09-03 15:00:54 +02:00
|
|
|
|
|
|
|
|
location / {
|
2024-01-30 13:34:42 +01:00
|
|
|
try_files $uri $uri.html $uri/ =404;
|
2026-06-21 16:01:08 +02:00
|
|
|
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
|
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
|
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
|
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
|
|
|
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: ws: wss: https:;" always;
|
|
|
|
|
add_header Last-Modified "";
|
2024-04-02 14:06:38 +02:00
|
|
|
expires off;
|
2024-01-30 13:34:42 +01:00
|
|
|
}
|
2021-09-03 15:00:54 +02:00
|
|
|
|
2024-01-30 13:34:42 +01:00
|
|
|
error_page 404 /404.html;
|
|
|
|
|
location = /404.html {
|
|
|
|
|
internal;
|
2026-06-21 16:01:08 +02:00
|
|
|
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
|
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
|
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
|
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
|
|
|
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: ws: wss: https:;" always;
|
|
|
|
|
add_header Last-Modified "";
|
2024-04-02 14:06:38 +02:00
|
|
|
expires off;
|
2024-01-30 13:34:42 +01:00
|
|
|
}
|
2021-09-03 15:00:54 +02:00
|
|
|
}
|