update 2025-04-06
Changes: - fix README.md old json format usage - rename "redirect" option to "proxy_pass" - move docker-compose.yml and nginx.conf.j2 to examples and add to .gitignore - fix situation when one domain from domains.txt and servers.yaml appeared twice in nginx.conf
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
resolver: 127.0.0.1
|
||||
acme_challenge_location: /etc/nginx/acme/
|
||||
|
||||
|
||||
servers:
|
||||
your.domain.to_redirect:
|
||||
redirect: "http://redirection.address"
|
||||
proxy_pass: "http://redirection.address"
|
||||
your_other.doma.in:
|
||||
redirect: "http://redirection-other.address"
|
||||
proxy_pass: "http://redirection-other.address"
|
||||
server_options:
|
||||
- "proxy_buffering off;"
|
||||
- "proxy_request_buffering off;"
|
||||
@@ -16,7 +17,7 @@ servers:
|
||||
- "proxy_read_timeout 86400;"
|
||||
"*.doma.in":
|
||||
all_names: "*.doma.in doma.in"
|
||||
redirect: "http://full.subdomain.redirect"
|
||||
proxy_pass: "http://full.subdomain.proxy"
|
||||
server_options:
|
||||
- "proxy_buffering off;"
|
||||
- "proxy_request_buffering off;"
|
||||
|
||||
Reference in New Issue
Block a user