From 6683ee9705f0765abc0309e62f0a9b044ec8fca3 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Sat, 4 Nov 2023 22:05:04 -0400 Subject: nginx --- cyfraeviolae.conf | 4 ++++ local.conf | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf index 6de73b9..80d0a8c 100644 --- a/cyfraeviolae.conf +++ b/cyfraeviolae.conf @@ -12,6 +12,10 @@ server { include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; + location ~ /\. { + deny all; + } + location /sweetgreen-calculator { alias /srv/sweetgreen-calculator/; } diff --git a/local.conf b/local.conf index 0bb69b7..b2b2b8a 100644 --- a/local.conf +++ b/local.conf @@ -35,6 +35,10 @@ http { alias /home/sy/code/site/countervisual/; } + location /infinite-connections { + alias /home/sy/code/site/infinite-connections/; + } + location /prosodyle { alias /home/sy/code/site/prosodyle/; } -- cgit v1.2.3