mirror of
https://github.com/YunoHost-Apps/cesium_ynh.git
synced 2024-09-03 18:06:25 +02:00
debug change url script
This commit is contained in:
parent
b4a9350fd2
commit
bdf6c2c617
1 changed files with 0 additions and 6 deletions
|
@ -120,12 +120,6 @@ ynh_script_progression --message="Upgrading nginx web server configuration..." -
|
||||||
|
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
|
||||||
ynh_replace_string --match_string="YNH_WWW_PATH" --replace_string="$path_url/" --target_file="$final_path/nginx_conf"
|
|
||||||
ynh_replace_string --match_string='YNH_WWW_ALIAS' --replace_string='$final_path/' --target_file="$final_path/nginx_conf"
|
|
||||||
### `ynh_add_nginx_config` will use the file conf/nginx.conf
|
|
||||||
# Create a dedicated nginx config
|
|
||||||
|
|
||||||
if [ "$path_url" != "/" ]
|
if [ "$path_url" != "/" ]
|
||||||
then
|
then
|
||||||
ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf"
|
ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue