mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 03:28:35 +01:00
Update required for PWA support to work
This commit is contained in:
parent
62f8516efc
commit
876299ac1c
1 changed files with 8 additions and 4 deletions
|
@ -5,10 +5,10 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name SERVERNAME;
|
||||
listen 80;
|
||||
server_name SERVERNAME;
|
||||
|
||||
location / {
|
||||
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/;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue