mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
now works through traefik...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2ffd4b91a9
commit
b6986f8114
@ -146,7 +146,9 @@ pctPushAssets $ID
|
|||||||
# Colabora...
|
# Colabora...
|
||||||
if ! [ -z $COLLABORA_OFFICE ] ; then
|
if ! [ -z $COLLABORA_OFFICE ] ; then
|
||||||
echo "# Collabora office..."
|
echo "# Collabora office..."
|
||||||
|
|
||||||
# coolwsd...
|
# coolwsd...
|
||||||
|
# XXX still need to make this work through a reverse proxy...
|
||||||
# see:
|
# see:
|
||||||
# https://sdk.collaboraonline.com/docs/installation/Configuration.html
|
# https://sdk.collaboraonline.com/docs/installation/Configuration.html
|
||||||
@ lxc-attach $ID -- bash -c "\
|
@ lxc-attach $ID -- bash -c "\
|
||||||
@ -157,6 +159,7 @@ if ! [ -z $COLLABORA_OFFICE ] ; then
|
|||||||
&& apt install -y coolwsd code-brand"
|
&& apt install -y coolwsd code-brand"
|
||||||
# XXX should these be set in here or as args in the coolwsd.service ???
|
# XXX should these be set in here or as args in the coolwsd.service ???
|
||||||
# /etc/coolwsd/coolwsd.xml
|
# /etc/coolwsd/coolwsd.xml
|
||||||
|
# XXX add groups...
|
||||||
# ssl>enable -> false
|
# ssl>enable -> false
|
||||||
@ lxc-attach $ID -- bash -c "\
|
@ lxc-attach $ID -- bash -c "\
|
||||||
sed -i \
|
sed -i \
|
||||||
@ -167,6 +170,13 @@ if ! [ -z $COLLABORA_OFFICE ] ; then
|
|||||||
sed -i \
|
sed -i \
|
||||||
'/<ssl /,+5{ s/\(<termination [^>]*>\)false\(<\/termination>\)/\1true\2/ }' \
|
'/<ssl /,+5{ s/\(<termination [^>]*>\)false\(<\/termination>\)/\1true\2/ }' \
|
||||||
/etc/coolwsd/coolwsd.xml"
|
/etc/coolwsd/coolwsd.xml"
|
||||||
|
# alias_groups...
|
||||||
|
@ lxc-attach $ID -- bash -c "\
|
||||||
|
sed -i \
|
||||||
|
-e '/<alias_groups .* mode=\"first\"/ s/mode=\"first\"/mode=\"groups\"/ ' \
|
||||||
|
-e '/<\/alias_groups>/ i\ <group><host allow=\"true\">https://${APP_DOMAIN}</host></group>' \
|
||||||
|
-e '/<\/alias_groups>/ i\ <group><host allow=\"true\">https://${CTHOSTNAME}.srv</host></group>' \
|
||||||
|
/etc/coolwsd/coolwsd.xml"
|
||||||
@ lxc-attach $ID -- systemctl restart coolwsd
|
@ lxc-attach $ID -- systemctl restart coolwsd
|
||||||
|
|
||||||
# apache2...
|
# apache2...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user