eh22-wiki(host): move to new network and hostname
Some checks failed
/ Ansible Lint (push) Failing after 1m59s
Some checks failed
/ Ansible Lint (push) Failing after 1m59s
This commit is contained in:
parent
5a476f2103
commit
570600fce3
4 changed files with 6 additions and 5 deletions
|
|
@ -3,11 +3,12 @@
|
|||
server {
|
||||
# Listen on a custom port for the proxy protocol.
|
||||
listen 8443 ssl http2 proxy_protocol;
|
||||
listen [::]:8443 ssl http2 proxy_protocol;
|
||||
# Make use of the ngx_http_realip_module to set the $remote_addr and
|
||||
# $remote_port to the client address and client port, when using proxy
|
||||
# protocol.
|
||||
# First set our proxy protocol proxy as trusted.
|
||||
set_real_ip_from 172.31.17.140;
|
||||
set_real_ip_from 2a00:14b0:4200:3000:125::1;
|
||||
# Then tell the realip_module to get the addreses from the proxy protocol
|
||||
# header.
|
||||
real_ip_header proxy_protocol;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue