1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/miniflux_ynh.git synced 2024-09-03 19:45:58 +02:00

Revert "Fix"

This reverts commit 4d128aaf6e.
This commit is contained in:
ericgaspar 2021-05-21 14:50:02 +02:00
parent 8d3915405c
commit 590ddd38bc
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 5 deletions

View file

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

View file

@ -1,11 +1,12 @@
location / {
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Force usage of https
if ($scheme = http) {
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_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

View file

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