mirror of
https://github.com/quay/quay.git
synced 2025-04-18 10:44:06 +03:00
Revert "util: parse forwarded headers for ip (PROJQUAY-8444)" (#3568)
Revert "util: parse forwarded headers for ip (PROJQUAY-8444) (#3566)" This reverts commit 40e2eaa4daf60caa6a6f9d194ed242453d3fb2ae.
This commit is contained in:
parent
40e2eaa4da
commit
3b739cf4d2
@ -45,7 +45,6 @@ http {
|
|||||||
add_header Strict-Transport-Security "max-age=63072000; preload";
|
add_header Strict-Transport-Security "max-age=63072000; preload";
|
||||||
|
|
||||||
real_ip_header X-Forwarded-For;
|
real_ip_header X-Forwarded-For;
|
||||||
real_ip_recursive on;
|
|
||||||
|
|
||||||
access_log /var/log/nginx/access.log lb_logs;
|
access_log /var/log/nginx/access.log lb_logs;
|
||||||
|
|
||||||
@ -68,7 +67,7 @@ http {
|
|||||||
{% if use_ipv6 %}
|
{% if use_ipv6 %}
|
||||||
listen [::]:7443 ssl http2 default proxy_protocol;
|
listen [::]:7443 ssl http2 default proxy_protocol;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
ssl on;
|
ssl on;
|
||||||
|
|
||||||
# This header must be set only for HTTPS
|
# This header must be set only for HTTPS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user