29 lines
683 B
Nginx Configuration File
29 lines
683 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name calvana.quikcue.com;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
# Fix: behind reverse proxy, use relative redirects
|
|
absolute_redirect off;
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
location /css/ {
|
|
expires 1h;
|
|
add_header Cache-Control "public, immutable";
|
|
}
|
|
|
|
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;
|
|
|
|
gzip on;
|
|
gzip_types text/html text/css application/javascript text/plain;
|
|
gzip_min_length 256;
|
|
|
|
error_page 404 /404.html;
|
|
}
|