cmc/dotfiles
Using GNU Stow to manage my dotfiles.
clone: git clone https://gitbay.org/cmc/dotfiles.git
2ce34a325c17c841329fb1f3e4ef903391afd985
verified · cmc
author: Christian Cleberg <hello@cleberg.net> · 2026-03-26T03:22:37Z
linux/nginx/etc/nginx/conf.d/art.conf | 1 - linux/nginx/etc/nginx/conf.d/bt.conf | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) @@ -1,5 +1,4 @@ server { - listen [::]:443 ssl; listen 443 ssl; http2 on; server_name art.cleberg.net mplqs2jxkjd5wxak3zjv55oxyadf4vwzx6ksgj4ztftndjl6elgsf4qd.onion; new file mode 100644 @@ -0,0 +1,35 @@ +server { + listen 443 ssl; + http2 on; + server_name bt.cleberg.net; + + include custom.d/tls/ssl_engine.conf; + include custom.d/tls/certificate_files.conf; + include custom.d/tls/policy_strict.conf; + include custom.d/basic.conf; + +# location /authelia { +# include custom.d/reverse_proxy/authelia.conf; +# } + + location = / { +# include custom.d/reverse_proxy/authelia_request.conf; + return 301 /transmission/web/; + } + + location /transmission/ { +# include custom.d/reverse_proxy/authelia_request.conf; + proxy_read_timeout 300; + proxy_http_version 1.1; + + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Server $host; + + proxy_pass_header X-Transmission-Session-Id; + proxy_pass http://127.0.0.1:9091; + } +}