VeryNginx icon indicating copy to clipboard operation
VeryNginx copied to clipboard

proxy_set_header

Open hdpingshao opened this issue 6 years ago • 0 comments

        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";

请问下类似这样的配置信息需要在哪里配置呢?

hdpingshao avatar Mar 05 '18 06:03 hdpingshao