[nginx] Fix subnets for real_ip_from
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
06498604ac
commit
0cdd43facb
|
@ -28,7 +28,7 @@ glob_nginx:
|
|||
default_ssl_domain: crans.org
|
||||
real_ip_from:
|
||||
- "172.16.0.0/16"
|
||||
- "fd00:0:0:10::/64"
|
||||
- "fd00::/56"
|
||||
deploy_robots_file: false
|
||||
|
||||
glob_prometheus_nginx_exporter:
|
||||
|
|
|
@ -26,6 +26,17 @@ loc_certbot:
|
|||
certname: crans.org
|
||||
domains: "crans.org, *.crans.org, crans.fr, *.crans.fr, crans.eu, *.crans.eu"
|
||||
|
||||
loc_nginx:
|
||||
servers: []
|
||||
ssl:
|
||||
- name: crans.org
|
||||
cert: /etc/letsencrypt/live/crans.org/fullchain.pem
|
||||
cert_key: /etc/letsencrypt/live/crans.org/privkey.pem
|
||||
trusted_cert: /etc/letsencrypt/live/crans.org/chain.pem
|
||||
real_ip_from:
|
||||
- "172.17.0.0/16"
|
||||
- "fd00:0:0:3000::/56"
|
||||
|
||||
loc_reverseproxy:
|
||||
reverseproxy_sites:
|
||||
- {from: ftps.crans.org, to: 172.17.10.30}
|
||||
|
|
Loading…
Reference in New Issue