mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-22 09:16:13 +08:00
Add manifest to nginx.conf example
This commit is contained in:
parent
02f51c10ad
commit
f7617c1b74
@ -9,7 +9,7 @@ server {
|
||||
proxy_pass http://127.0.0.1:34801;
|
||||
}
|
||||
|
||||
location ~ ^/(assets|songs|src)/ {
|
||||
location ~ ^/(assets/|songs/|src/|manifest.json$) {
|
||||
root /srv/taiko-web/public;
|
||||
location ~ ^/songs/(\d+)/preview\.mp3$ {
|
||||
try_files $uri /api/preview?id=$1;
|
||||
|
@ -9,7 +9,7 @@ server {
|
||||
proxy_pass http://127.0.0.1:34801;
|
||||
}
|
||||
|
||||
location ~ ^/taiko-web/(assets|songs|src)/ {
|
||||
location ~ ^/taiko-web/(assets/|songs/|src/|manifest.json$) {
|
||||
rewrite ^/taiko-web/(.*) /$1 break;
|
||||
root /srv/taiko-web/public;
|
||||
location ~ ^/taiko-web/songs/([0-9]+)/preview\.mp3$ {
|
||||
|
Loading…
Reference in New Issue
Block a user