mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
Remove X-script-Name when root
This commit is contained in:
parent
7bbd113545
commit
0d37d1c138
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ pip install --target $final_path/vendor -r $final_path/requirements.txt
|
||||||
#=================================================
|
#=================================================
|
||||||
#Cannot use empty string for X-script-name, causes an issue in the python prg
|
#Cannot use empty string for X-script-name, causes an issue in the python prg
|
||||||
if [ $path_url = "/" ] ; then
|
if [ $path_url = "/" ] ; then
|
||||||
ynh_replace_string "X-Script-Name __PATH__;" "X-Script-Name $app;" ../conf/nginx.conf
|
ynh_replace_string " proxy_set_header X-Script-Name" "# proxy_set_header X-Script-Name" ../conf/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a dedicated nginx config
|
# Create a dedicated nginx config
|
||||||
|
|
Loading…
Add table
Reference in a new issue