diff options
| author | Christian Cleberg <[email protected]> | 2026-03-25 22:22:37 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-25 22:22:37 -0500 |
| commit | 2ce34a325c17c841329fb1f3e4ef903391afd985 (patch) | |
| tree | 95730daa626043500b8f98e072a3804543d7cf47 | |
| parent | a2e5314051249a26d82a8bf4bec1079c375be5f8 (diff) | |
| download | dotfiles-2ce34a325c17c841329fb1f3e4ef903391afd985.tar.gz dotfiles-2ce34a325c17c841329fb1f3e4ef903391afd985.tar.bz2 dotfiles-2ce34a325c17c841329fb1f3e4ef903391afd985.zip | |
conf updates
| -rw-r--r-- | linux/nginx/etc/nginx/conf.d/art.conf | 1 | ||||
| -rw-r--r-- | linux/nginx/etc/nginx/conf.d/bt.conf | 35 |
2 files changed, 35 insertions, 1 deletions
diff --git a/linux/nginx/etc/nginx/conf.d/art.conf b/linux/nginx/etc/nginx/conf.d/art.conf index 931a639..e1e996b 100644 --- a/linux/nginx/etc/nginx/conf.d/art.conf +++ b/linux/nginx/etc/nginx/conf.d/art.conf @@ -1,5 +1,4 @@ server { - listen [::]:443 ssl; listen 443 ssl; http2 on; server_name art.cleberg.net mplqs2jxkjd5wxak3zjv55oxyadf4vwzx6ksgj4ztftndjl6elgsf4qd.onion; diff --git a/linux/nginx/etc/nginx/conf.d/bt.conf b/linux/nginx/etc/nginx/conf.d/bt.conf new file mode 100644 index 0000000..af066a8 --- /dev/null +++ b/linux/nginx/etc/nginx/conf.d/bt.conf @@ -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; + } +} |
