mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 22:56:20 +00:00
Update base/app/init.d/10-nginx.sh
This commit is contained in:
parent
7bdd0a78bc
commit
e5d81b0f05
1 changed files with 2 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
# Reformat path
|
||||
# Reformat proxy path
|
||||
if [[ ${MYVNC_PROXYPATH} == "/" ]]
|
||||
then
|
||||
unset _MYVNC_PROXYPATH
|
||||
elif [ ${MYVNC_PROXYPATH} ]
|
||||
then
|
||||
_MYVNC_PROXYPATH=$(echo ${MYVNC_PROXYPATH%/} | sed "s|^.*/||;s|^|/|")
|
||||
_MYVNC_PROXYPATH=$(echo ${MYVNC_PROXYPATH} | sed "s|^/*||g;s|/*$||g;s|/*/|/|g;s|^|/|")
|
||||
fi
|
||||
|
||||
# Add novnc virtual proxy conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue