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
2f54c3f32b
commit
ec53481d68
1 changed files with 3 additions and 1 deletions
|
@ -211,7 +211,9 @@ if [ $is_public -eq 0 ];
|
|||
then
|
||||
ynh_app_setting_set "$app" protected_uris "/"
|
||||
else
|
||||
ynh_app_setting_set "$app" protected_uris "/admin"
|
||||
ynh_app_setting_delete "$app" protected_uris
|
||||
ynh_app_setting_set "$app" protected_regex "/admin/"
|
||||
|
||||
ynh_replace_string " include conf.d/" " #include conf.d/" "$finalnginxconf"
|
||||
|
||||
ynh_store_file_checksum "$finalnginxconf"
|
||||
|
|
Loading…
Add table
Reference in a new issue