m-shell-scripts/m_qygaming_0/nginx/wxgame.debug.conf

20 lines
559 B
Plaintext
Raw Normal View History

2025-03-19 17:38:46 +08:00
upstream bakservers-new-auto-change--with-backup {
server 127.0.0.1:80 ;
server 127.0.0.1:81 backup;
}
server {
listen 8080 ;
server_name qp.mpapi.co ;
location / {
proxy_pass http://bakservers-new-auto-change--with-backup ;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host qp.mpapi.co;
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
}
}