1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00
This commit is contained in:
Krakinou 2018-12-17 22:21:11 +01:00
parent 3cc095adc1
commit fa99449d83

View file

@ -99,9 +99,7 @@ pip install --target $final_path/vendor -r $final_path/requirements.txt
#=================================================
#Cannot use empty string for X-script-name
if [ $path_url = "/" ] ; then
ynh_replace_string " proxy_set_header X-Script-Name __PATH__;"
" proxy_set_header X-Script-Name /$app;"
../conf/nginx.conf
ynh_replace_string "X-Script-Name __PATH__;" "X-Script-Name /$app;" ../conf/nginx.conf
fi
# Create a dedicated nginx config