music / nginx.conf
HongShi2048's picture
Update nginx.conf
2e0ddcb verified
raw
history blame contribute delete
328 Bytes
server {
listen 7860;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass https://errorcode418-neteasemusicapi.hf.space/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}