Add manifest to nginx.conf example

This commit is contained in:
KatieFrogs 2022-11-22 17:56:27 +01:00
parent 02f51c10ad
commit f7617c1b74
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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$ {