1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Move to last version

This commit is contained in:
Krakinou 2019-01-13 11:57:47 +01:00
parent bba261cf43
commit 0b15e9c9fe
2 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,3 @@
#useless as long as V1.0 not issued
SOURCE_URL=https://github.com/Krakinou/calibre-web/archive/82e4f11334444f8650fbf5e0b16a4e8eb70253da.zip
SOURCE_SUM=29f68e6ef88cce19f0f6a2006517c43d93167ad80f13cbe16cdc78b4ea8d52be
SOURCE_URL=https://github.com/janeczku/calibre-web/archive/c527d1f49a2213e523957fd90d814c075bacde89.zip
SOURCE_SUM=61aff733df259382ae53646e5445ac973a0c4fe70e54ec4d3ed63a7f66c4f04f
SOURCE_FORMAT=zip

View file

@ -4,12 +4,13 @@ location __PATH__ {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://localhost:__PORT__;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name __PATH__;
proxy_pass http://localhost:__PORT__;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name __PATH__;
proxy_set_header X-Remote-User $remote_user;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;