Proxy AES in Club to new location for cached DNS records
Do that so that cached DNS records don't make problems. (We had a TTL of 1 week for some reason, so people having that in their cache might still resolve to the Club. This shouldn't be a problem anymore at ~14.08.2023.)
This commit is contained in:
parent
dc89d33e33
commit
d256082221
|
@ -15,14 +15,24 @@ events {
|
|||
# Listen on port 443 as a reverse proxy and use PROXY Protocol for the
|
||||
# upstreams.
|
||||
stream {
|
||||
map $ssl_preread_server_name $first_jump {
|
||||
aes.ccchh.net 212.12.48.125:443;
|
||||
default 127.0.0.1:9443;
|
||||
}
|
||||
|
||||
map $ssl_preread_server_name $address {
|
||||
wiki.ccchh.net 10.31.206.13:8443;
|
||||
aes.ccchh.net 10.31.206.14:8443;
|
||||
default 127.0.0.1:8443;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:443;
|
||||
proxy_pass $first_jump;
|
||||
ssl_preread on;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:9443;
|
||||
proxy_pass $address;
|
||||
ssl_preread on;
|
||||
proxy_protocol on;
|
||||
|
|
Loading…
Reference in a new issue