1
0
mirror of https://github.com/quay/quay.git synced 2025-04-18 10:44:06 +03:00

util: parse forwarded headers for ip (PROJQUAY-8444) (#3566)

add recursive directive to nginx config
This commit is contained in:
Marcus Kok 2025-01-15 17:22:12 -05:00 committed by GitHub
parent 367aee17f0
commit 40e2eaa4da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,6 +45,7 @@ http {
add_header Strict-Transport-Security "max-age=63072000; preload";
real_ip_header X-Forwarded-For;
real_ip_recursive on;
access_log /var/log/nginx/access.log lb_logs;
@ -67,7 +68,7 @@ http {
{% if use_ipv6 %}
listen [::]:7443 ssl http2 default proxy_protocol;
{% endif %}
ssl on;
# This header must be set only for HTTPS