Running Weblate behind Caddy #13573
-
I'm trying to run Weblate on a TrueNAS SCALE as a custom app. I also have Caddy running there and all other apps seem to work fine, but even after solving all permission issues I can't make Weblate to work. I keep getting 502 error Here's full Caddy log entry: {
"level": "error",
"ts": 1737223268.1558733,
"logger": "http.log.error",
"msg": "dial tcp 192.168.1.11:18080: connect: connection refused",
"request": {
"remote_ip": "192.168.1.1",
"remote_port": "43609",
"client_ip": "192.168.1.1",
"proto": "HTTP/2.0",
"method": "GET",
"host": "weblate.example.com",
"uri": "/",
"headers": { <...> },
"tls": {
"resumed": false,
"version": 772,
"cipher_suite": 4865,
"proto": "h2",
"server_name": "weblate.example.com"
}
},
"duration": 0.00077199,
"status": 502,
"err_id": "vz3b75b11",
"err_trace": "reverseproxy.statusError (reverseproxy.go:1373)"
} I've tried with I also have ports defined:
Upon Weblate startup I see this in the logs:
Otherwise no noticeable errors Although later, when all initial stuff happens, I see
P. S. Where does Weblate try to send an email during startup? I was getting an error it couldn't send one until I managed to configure that correctly |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You should use 127.0.0.1:18080 for Docker (or specify IP address in port mapping in docker compose). |
Beta Was this translation helpful? Give feedback.
I had ports the other way around and
80
🤦♂️ This fixed it: