This is an automated archive made by the Lemmit Bot.
The original was posted on /r/unraid by /u/imCluDz on 2023-09-17 15:21:25.
I'm trying to have a complete solution to host multiple websites on my server.
At the moment I have traefik with crowdsec and auto ssl certificates and such.
I created a VM to install virtualmin and was trying to do reverse proxy to the VM, that way I also had the ssl certificate taken care of by traefik, but now virtualmin won't work with reverse proxy, getting the following error
Traefik:
http:
routers:
virtualmin:
rule: "Host(`domain.tech`)"
service: "virtualminService"
services:
virtualminService:
loadBalancer:
servers:
- url: "http://192.168.1.115:10000"
middlewares:
corsAll:
headers:
customRequestHeaders:
X-Forwarded-Proto: "https"
customResponseHeaders:
X-Forwarded-Proto: "https"
accessControlAllowMethods:
- OPTION
- POST
- GET
- PUT
- DELETE
accessControlAllowHeaders:
- "*"
accessControlAllowOriginList:
- "*"
accessControlMaxAge: 100
addVaryHeader: true
# Security headers
securityHeaders:
headers:
customResponseHeaders:
X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex"
X-Forwarded-Proto: "https"
server: ""
customRequestHeaders:
X-Forwarded-Proto: "https"
sslProxyHeaders:
X-Forwarded-Proto: "https"
referrerPolicy: "same-origin"
hostsProxyHeaders:
- "X-Forwarded-Host"
contentTypeNosniff: true
browserXssFilter: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsSeconds: 63072000
stsPreload: true