Make ports 80 and 443 compatible with UFW

This commit is contained in:
2026-03-31 17:07:38 +03:00
Unverified
parent 3caadde6ff
commit 2a5a539126
4 changed files with 588 additions and 130 deletions
+15 -8
View File
@@ -1,3 +1,18 @@
{
servers {
listener_wrappers {
proxy_protocol
tls
}
# Only trust PROXY protocol from local forwarder.
trusted_proxies static 127.0.0.1/32 ::1/128
}
http_port 8080
https_port 8443
}
fromchat.ru {
reverse_proxy frontend:8301 {
header_up X-Real-IP {remote_host}
@@ -102,12 +117,4 @@ git.fromchat.ru {
events 500
}
}
}
api.getgadgets.toolbox-io.ru {
reverse_proxy 95.165.0.162:8400
}
getgadgets.toolbox-io.ru {
reverse_proxy 95.165.0.162:8401
}