mirror of
https://github.com/YunoHost-Apps/miniflux_ynh.git
synced 2024-09-03 19:45:58 +02:00
Fix
This commit is contained in:
parent
fe4c3af425
commit
a40d5b8370
2 changed files with 1 additions and 6 deletions
|
@ -1,11 +1,6 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
# Force usage of https
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT____PATH__/;
|
proxy_pass http://127.0.0.1:__PORT____PATH__/;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
@ -53,7 +53,7 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
# If architecture doesn't exist, create it
|
# If architecture doesn't exist, create it
|
||||||
if [ -z "$architecture" ]; then
|
if [ -z "$architecture" ]; then
|
||||||
architecture="dpkg --print-architecture"
|
architecture=$YNH_ARCH
|
||||||
architecture=$(ynh_app_setting_get --app=$app --key=architecture)
|
architecture=$(ynh_app_setting_get --app=$app --key=architecture)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue