handle play in background

This commit is contained in:
Luke Berndt
2024-09-21 10:19:01 -04:00
parent fd61e89daf
commit 475c67eed7
5 changed files with 73 additions and 10 deletions

View File

@@ -38,13 +38,26 @@ server {
location /favicon.ico {
proxy_pass http://frontend:3000;
expires 1M;
add_header Surrogate-Control "public, max-age=2629746";
add_header Cache-Control "max-age=2629746, public";
access_log off;
}
location /*.png {
proxy_pass http://frontend:3000;
access_log off;
}
proxy_pass http://frontend:3000;
access_log off;
expires 1M;
add_header Cache-Control "max-age=2629746, public";
}
location /*.m4a {
proxy_pass http://frontend:3000;
access_log off;
expires 1M;
add_header Surrogate-Control "public, max-age=2629746";
add_header Cache-Control "max-age=2629746, public";
}
location / {
proxy_pass http://frontend:3000;