Set default IP

This commit is contained in:
phil 2023-02-06 22:51:51 +01:00
parent 9a97b43cbf
commit a6754df462

View file

@ -1,6 +1,6 @@
# Ansible managed # Ansible managed
RemoteIPHeader X-Forwarded-For RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy {{ gateway_host_ip }} RemoteIPTrustedProxy {{ gateway_host_ip | default('127.0.0.1') }}
LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" remotip LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" remotip