mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 09:07:59 +00:00
Update required for PWA support to work
This commit is contained in:
parent
62f8516efc
commit
876299ac1c
@ -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/;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user