0.9.2
版本发布时间: 2021-08-11 23:58:05
nginx-proxy/nginx-proxy最新发布版本:1.6.2(2024-10-06 21:34:59)
This is a patch release.
Bugs fixed:
- correctly redirect HTTP to custom HTTPS port using when using
HTTPS_PORT
(fixed by #1662) - use a single
server 127.0.0.1 down
entry inupstream
blocks, and only when required (fixed by #1667, #1679)
Changes since 0.9.1:
-
nginx
1.19.10
->1.21.1
-
docker-gen
0.7.6
->0.7.7
-
golang
1.16.5
->1.16.7
Various CI and docs updates.
Note:
- in
0.9.1
, theupstream
names where changed and "-upstream" was appended to the bare reverse proxied hostname. - in
0.9.2
, they were changed again to ansha1
hash of the hostname to prevent further issues with incorrectupstream
names.
If you relied on those upstream
names in your custom configuration(s), please be aware that you'll have to update them if you use version 0.9.1
or higher.
0.9.0
and prior:
# example.com
upstream example.com {
server 172.16.0.2:80;
}
server {
server_name example.com;
#[…]
location / {
proxy_pass http://example.com;
}
}
0.9.1
:
# example.com
upstream example.com-upstream {
server 172.16.0.2:80;
}
server {
server_name example.com;
#[…]
location / {
proxy_pass http://example.com-upstream;
}
}
0.9.2
+:
# example.com
upstream 0caaf24ab1a0c33440c06afe99df986365b0781f {
server 172.16.0.2:80;
}
server {
server_name example.com;
#[…]
location / {
proxy_pass http://0caaf24ab1a0c33440c06afe99df986365b0781f;
}
}