mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 17:27:37 -05:00
handle play in background
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user