From 876299ac1cea634ff65be13f3dff22441830dba2 Mon Sep 17 00:00:00 2001 From: Korbs Date: Sat, 30 Sep 2023 12:30:08 -0400 Subject: [PATCH] Update required for PWA support to work --- nginx.conf.example | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nginx.conf.example b/nginx.conf.example index 2055aefd..62f39abb 100644 --- a/nginx.conf.example +++ b/nginx.conf.example @@ -5,10 +5,10 @@ server { } server { - listen 80; - server_name SERVERNAME; - - location / { + listen 80; + server_name SERVERNAME; + + location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-NginX-Proxy true; @@ -16,4 +16,8 @@ server { proxy_ssl_session_reuse off; proxy_set_header Host $http_host; } + + location /manifest.json { + root /path/to/poketube/pwa/; + } } \ No newline at end of file