mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
Remove deprecated redirect in nginx config
also bump YunoHost minimal version to 4.3
This commit is contained in:
parent
8d3a052a23
commit
9d213cc2b6
2 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
# This is important for user's privacy!
|
# This is important for user's privacy!
|
||||||
access_log off;
|
access_log off;
|
||||||
error_log /var/log/nginx/lufi.error.log;
|
error_log /var/log/nginx/lufi.error.log;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
"email": "win10@tutanota.com, cyp@rouquin.me"
|
"email": "win10@tutanota.com, cyp@rouquin.me"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.2.3"
|
"yunohost": ">= 4.3"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue