mirror of https://github.com/VERT-sh/VERT.git
22 lines
546 B
Plaintext
22 lines
546 B
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name vert;
|
|
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
client_max_body_size 10M;
|
|
|
|
# Security headers
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
|
add_header Permissions-Policy "geolocation=(), microphone=(), camera=()" always;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
error_page 404 /index.html;
|
|
} |