mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
[fix] redirection missing
This commit is contained in:
parent
fd91c45396
commit
1f12ee41f3
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ ynh_app_config_apply() {
|
|||
fi
|
||||
echo " return 302 https://\$http_host/yunohost/admin;" >> /etc/nginx/conf.d/default.d/redirect_to_admin.conf
|
||||
echo "}" >> /etc/nginx/conf.d/default.d/redirect_to_admin.conf
|
||||
|
||||
systemctl reload nginx
|
||||
ynh_systemd_action --service_name=captiveportal_fakedns --action="start" --log_path=systemd
|
||||
else
|
||||
ynh_systemd_action --service_name=captiveportal_fakedns --action="stop" --log_path=systemd
|
||||
|
|
Loading…
Add table
Reference in a new issue