mirror of
https://github.com/YunoHost-Apps/opensondage_ynh.git
synced 2024-09-03 19:46:28 +02:00
Acces to "adminstuds.php" when app is in public
This commit is contained in:
parent
c45b887290
commit
2f54c3f32b
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ if [ $is_public -eq 0 ];
|
||||||
then
|
then
|
||||||
ynh_app_setting_set "$app" protected_uris "/"
|
ynh_app_setting_set "$app" protected_uris "/"
|
||||||
else
|
else
|
||||||
ynh_app_setting_set "$app" protected_uris "/admin"
|
ynh_app_setting_set "$app" protected_regex "/admin/"
|
||||||
ynh_replace_string " include conf.d/" " #include conf.d/" "$finalnginxconf"
|
ynh_replace_string " include conf.d/" " #include conf.d/" "$finalnginxconf"
|
||||||
|
|
||||||
ynh_store_file_checksum "$finalnginxconf"
|
ynh_store_file_checksum "$finalnginxconf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue