web, graphql: set X-Forwarded-For properly
This commit is contained in:
parent
f75b6ca38f
commit
dcfe4221f8
|
@ -2,6 +2,7 @@ real_ip_header X-Forwarded-For;
|
|||
real_ip_recursive on;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
if ($request_method = 'OPTIONS') {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
|
|
Loading…
Reference in New Issue