Created
March 11, 2025 03:34
-
-
Save xkou/d4ba7c8fdb165f19f706688caf02cf8b to your computer and use it in GitHub Desktop.
nginx conf for cocos update cdn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name res.furryloli.com; | |
#charset koi8-r; | |
error_log /var/log/host.access.log ; | |
root /root/cdn; | |
location / { | |
index index.html index.htm; | |
} | |
location ~* ^/\w+/[^\/]*\.manifest { | |
proxy_pass http://127.0.0.1:8840; | |
proxy_set_header Host $host; | |
proxy_set_header LocalIP $remote_addr; | |
} | |
error_page 500 502 503 504 /50x.html; | |
location = /50x.html { | |
root html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment