mirror of
https://github.com/YunoHost-Apps/shiori_ynh.git
synced 2024-09-03 20:26:17 +02:00
fix
This commit is contained in:
parent
d800e279fa
commit
451aa46ef3
2 changed files with 4 additions and 4 deletions
|
@ -9,9 +9,9 @@ location __PATH__/ {
|
||||||
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-Forwarded-Host $server_name;
|
proxy_set_header X-Forwarded-Host $server_name;
|
||||||
|
|
||||||
#proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
#proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
#proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
|
|
|
@ -8,7 +8,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
ExecStart=__INSTALL_DIR__/shiori serve --port __PORT__ --webroot __PATH__/
|
ExecStart=__INSTALL_DIR__/shiori serve --port __PORT__ --webroot __PATH__
|
||||||
Restart=always
|
Restart=always
|
||||||
Environment="SHIORI_DIR=__DATA_DIR__"
|
Environment="SHIORI_DIR=__DATA_DIR__"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue