I would like to use reverse proxy for my transmission server. It’s a bit tricky as I found here:
…I followed this topic, but I am still unable to make it work.
Here is my config:
(gzipconf) {
gzip {
ext *
level 7
min_length 1
}
}
(addheader) {
header / {
Strict-Transport-Security "max-age=31536000;"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"
-Server
}
}
transmission.int.mydomain.com {
log /var/log/caddy/transmission.int.mydomain.com.log
errors /var/log/caddy/errors.log
import gzipconf
import addheader
ipfilter / {
rule allow
database /etc/caddy/geolite.mmdb
country SK HU HR
}
import int-auth
proxy / http://192.168.1.54:9091 {
keepalive 32
websocket
transparent
}
}
I am trying to access on https://transmission.int.mydomain.com: