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;