mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +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;
|
proxy_pass http://127.0.0.1:34801;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/(assets|songs|src)/ {
|
location ~ ^/(assets/|songs/|src/|manifest.json$) {
|
||||||
root /srv/taiko-web/public;
|
root /srv/taiko-web/public;
|
||||||
location ~ ^/songs/(\d+)/preview\.mp3$ {
|
location ~ ^/songs/(\d+)/preview\.mp3$ {
|
||||||
try_files $uri /api/preview?id=$1;
|
try_files $uri /api/preview?id=$1;
|
||||||
|
@ -9,7 +9,7 @@ server {
|
|||||||
proxy_pass http://127.0.0.1:34801;
|
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;
|
rewrite ^/taiko-web/(.*) /$1 break;
|
||||||
root /srv/taiko-web/public;
|
root /srv/taiko-web/public;
|
||||||
location ~ ^/taiko-web/songs/([0-9]+)/preview\.mp3$ {
|
location ~ ^/taiko-web/songs/([0-9]+)/preview\.mp3$ {
|
||||||
|
Loading…
Reference in New Issue
Block a user