1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garage_ynh.git synced 2024-09-03 18:36:32 +02:00

Update regenconf_nginx_garage: oopsi

This commit is contained in:
Alexandre Aubin 2023-12-10 14:38:27 +01:00 committed by GitHub
parent 041cf1c42c
commit 4f9c6bd047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,4 +8,4 @@ app=__APP__
[[ "$action" == "pre" ]] || exit 0 [[ "$action" == "pre" ]] || exit 0
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
ynh_replace_special_string --match_string="server_name $domain" --replace_string="server_name $domain *.$domain" --target_file="$pending_dir/etc/nginx/conf.d/$domain.conf" ynh_replace_special_string --match_string="server_name $domain" --replace_string="server_name $domain *.$domain" --target_file="$pending_dir/../nginx/etc/nginx/conf.d/$domain.conf"