cmc/dotfiles
Using GNU Stow to manage my dotfiles.
clone: git clone https://gitbay.org/cmc/dotfiles.git
1481cd5cdc6d9545e2d600b9509c318d8f083262
verified · cmc
author: Christian Cleberg <hello@cleberg.net> · 2026-05-10T17:58:54Z
linux/nginx/etc/nginx/conf.d/cleberg.net.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) @@ -1,13 +1,13 @@ server { listen 10011; server_name cleberg.net paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion; - error_log /var/log/nginx/cleberg.net.error.log; + error_log /var/log/nginx/cleberg.net.error.log; include custom.d/basic.conf; include custom.d/security/strict-transport-security.conf; include custom.d/security/content-security-policy.conf; include custom.d/security/permissions-policy.conf; root /var/www/cleberg.net/; - port_in_redirect off; + port_in_redirect off; add_header Onion-Location "http://paske4urhs6nttrtlkuwa5cowum3fjkc6yv6kl4ncx3mjxcd77764nqd.onion$request_uri" always; @@ -47,8 +47,9 @@ server { try_files $uri =404; } - location /atom.xml { return 301 $scheme://$host/feed.xml; } - location /blog/salary-transparency.html { return 301 $scheme://$host/salary/; } + location /atom.xml { return 301 $scheme://$host/feed.xml; } + location /blog/salary-transparency.html { return 301 $scheme://$host/salary/; } + location = /.well-known/ { return 404; } } server {