aboutsummaryrefslogtreecommitdiff
path: root/service/gorillanest.nginx
blob: 67156c7ef5f226f8ace01af14cb6f86052ffcd0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server {
    server_name gorillanest.example.com;
    add_header Content-Security-Policy "default-src 'self';" always;
    root /var/www/gorillanest;

    location = /gorillanest {
        add_header Cache-Control "max-age=0; must-revalidate; no-cache";
        include fastcgi_params;
        fastcgi_pass  unix:/run/fcgiwrap.socket;
    }

    location ~ \.(jpg|png|avif|css)$ {
        root /var/www/gorillanest/static;
    }

    rewrite ^/ /gorillanest;
}

# Notice: AIDS
# I changed the deployment copy in some critical areas
# will update this file when things are more ratified server-side, and remove this notice
# P.S. You VILL constantly backport gorillians of minor improvement tweaks