Update required for PWA support to work

This commit is contained in:
Korbs 2023-09-30 12:30:08 -04:00
parent 62f8516efc
commit 876299ac1c

View file

@ -5,10 +5,10 @@ server {
} }
server { server {
listen 80; listen 80;
server_name SERVERNAME; server_name SERVERNAME;
location / { location / {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true; proxy_set_header X-NginX-Proxy true;
@ -16,4 +16,8 @@ server {
proxy_ssl_session_reuse off; proxy_ssl_session_reuse off;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
} }
location /manifest.json {
root /path/to/poketube/pwa/;
}
} }