aboutsummaryrefslogtreecommitdiff
path: root/service/gorillanest.nginx
diff options
context:
space:
mode:
authorEmil Williams2025-08-20 23:59:06 +0000
committerEmil Williams2025-08-20 23:59:06 +0000
commit33c7281c610623e84985bd1104236167a1ca06c7 (patch)
tree7a8e42298db897a08d5378161c5f069e7289f29e /service/gorillanest.nginx
parentd75ac24491b782974517cbff207bfbc17e46bd56 (diff)
downloadgorillanest-33c7281c610623e84985bd1104236167a1ca06c7.tar.xz
gorillanest-33c7281c610623e84985bd1104236167a1ca06c7.tar.zst
Directories
Diffstat (limited to 'service/gorillanest.nginx')
-rw-r--r--service/gorillanest.nginx22
1 files changed, 22 insertions, 0 deletions
diff --git a/service/gorillanest.nginx b/service/gorillanest.nginx
new file mode 100644
index 0000000..67156c7
--- /dev/null
+++ b/service/gorillanest.nginx
@@ -0,0 +1,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