1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2026-03-22 05:23:18 +00:00
Files
nginx-proxy/nginx.tmpl
Gilles Filippini 4606b15309 fix: nohttp(s) shouldn't disable fallback server
Say we have two containers:
- `app1` with `HTTPS_METHOD=redirect`
- `app2` with `HTTPS_METHOD=nohttps`

Without this change the fallback answer on an HTTPS request to an unknown
server would change depending on whether `app1` is up (503) or not
(connection refused). This is not wanted.

In case someone doesn't want HTTPS at all, they just have to not bind
port 443.
2024-06-06 22:04:15 +02:00

45 KiB