server {
    listen 80;
    server_name taawunu.org www.taawunu.org taawunu.com www.taawunu.com taawunu.quikcue.com;
    root /usr/share/nginx/html;
    index index.html;

    absolute_redirect off;

    location / {
        try_files $uri $uri/ $uri/index.html /index.html;
    }

    location /css/ {
        expires 30d;
        add_header Cache-Control "public, immutable";
    }

    location /images/ {
        expires 30d;
        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 image/svg+xml;
    gzip_min_length 256;

    error_page 404 /404.html;
}
