Download mp.conf from feiver/mp: direct link, hf CLI and curl.
- Browser
- Download file 867 Bytes
-
https://huggingface.co/spaces/feiver/mp/resolve/main/mp.conf
- Command line
-
hf download hf://spaces/feiver/mp/mp.conf
-
curl -L -o mp.conf https://huggingface.co/spaces/feiver/mp/resolve/main/mp.conf
867 Bytes
| server { | |
| listen 3000; | |
| server_name localhost; | |
| client_max_body_size 200M; | |
| #access_log /var/log/nginx/host.access.log main; | |
| resolver 223.5.5.5 119.29.29.29 ipv6=off valid=30s; | |
| location ~* ^/cgi-bin/(gettoken|message/send|menu/create)$ { | |
| proxy_pass https://qyapi.weixin.qq.com; | |
| proxy_ssl_server_name on; | |
| proxy_ssl_name qyapi.weixin.qq.com; | |
| proxy_set_header Host qyapi.weixin.qq.com; | |
| } | |
| location / { | |
| set $backend https://mp.nas.feiver.top:8888; | |
| proxy_pass $backend; | |
| proxy_ssl_server_name on; | |
| proxy_ssl_name mp.nas.feiver.top; | |
| proxy_set_header Host mp.nas.feiver.top; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header X-Forwarded-Proto $scheme; | |
| } | |
| } | |