VeryNginx
VeryNginx copied to clipboard
proxy_set_header
proxy_pass http://172.17.35.66:10010;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Access-Control-Allow-Origin $http_origin;
proxy_set_header Access-Control-Allow-Methods "GET,POST,PUT,DELETE,OPTIONS";
proxy_set_header Access-Control-Allow-Credentials "true";
proxy_set_header Access-Control-Allow-Headers "Authorization,DNT,User-Agent,Keep-Alive,Content-Type,accept,origin,X-Requested-With";
请问下类似这样的配置信息需要在哪里配置呢?