summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2023-11-04 22:05:04 -0400
committercyfraeviolae <cyfraeviolae>2023-11-04 22:05:04 -0400
commit6683ee9705f0765abc0309e62f0a9b044ec8fca3 (patch)
tree505518959b4d4fe09a89e959284309f6c4779cb7
parent316e96e06f1a981922a282bc2764450dc1accdd9 (diff)
nginx
-rw-r--r--cyfraeviolae.conf4
-rw-r--r--local.conf4
2 files changed, 8 insertions, 0 deletions
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/;
}