1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/miniflux_ynh.git synced 2024-09-03 19:45:58 +02:00
This commit is contained in:
ericgaspar 2021-05-21 14:46:20 +02:00
parent 2d162aff6d
commit 4d128aaf6e
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 6 deletions

View file

@ -7,7 +7,7 @@
password="password" password="password"
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=1 setup_sub_dir=0
setup_root=1 setup_root=1
setup_nourl=0 setup_nourl=0
setup_private=1 setup_private=1
@ -15,7 +15,7 @@
upgrade=1 upgrade=1
#upgrade=1 from_commit= #upgrade=1 from_commit=
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=1
change_url=1 change_url=1
;;; Options ;;; Options
Email= Email=

View file

@ -1,12 +1,11 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location / {
location __PATH__/ {
# Force usage of https # Force usage of https
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
proxy_pass http://127.0.0.1:__PORT__/; proxy_pass http://127.0.0.1:__PORT__;
proxy_redirect off; proxy_redirect off;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;

View file

@ -21,7 +21,7 @@ ynh_abort_if_errors
#================================================= #=================================================
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
architecture=$(ynh_detect_arch) architecture=$(ynh_detect_arch)
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD