1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grocy_ynh.git synced 2024-09-03 19:25:54 +02:00

remove https

This commit is contained in:
ericgaspar 2021-12-01 23:20:49 +01:00
parent dda75a2daf
commit 1bdc98441a
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 6 deletions

View file

@ -3,11 +3,6 @@ location / {
# Path to source
alias __FINALPATH__/public/ ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php;
client_max_body_size 50M;

View file

@ -25,7 +25,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
ynh_script_progression --message="Removing $app main directory..." --weight=4
# Remove the app directory securely
ynh_secure_remove "$final_path"
ynh_secure_remove --file="$final_path"
#=================================================
# REMOVE NGINX CONFIGURATION