From 01f2e49439c0d4065700be440b4e409857d667e6 Mon Sep 17 00:00:00 2001 From: Amoelle Date: Thu, 2 Oct 2025 17:34:26 +0300 Subject: [PATCH] host personal website --- modules/nginx/sites-available/forsen-cock.dedyn.io | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/nginx/sites-available/forsen-cock.dedyn.io b/modules/nginx/sites-available/forsen-cock.dedyn.io index b84b2d3..57d1b41 100644 --- a/modules/nginx/sites-available/forsen-cock.dedyn.io +++ b/modules/nginx/sites-available/forsen-cock.dedyn.io @@ -19,9 +19,14 @@ server { ssl_ciphers HIGH:!aNULL:!MD5; # Serve static files (optional) - root /var/www/forsen-cock.dedyn.io; + root /var/www/elleoma.github.io; index index.html index.htm; + location ~ /\.git { + deny all; + return 404; + } + # Optional root tuwunel page ("hewwo from tuwunel woof!") # location = / { # proxy_pass http://127.0.0.1:8448$request_uri;