VirtualHosts ProxyPass ports on UCS appliance


#1

I have installed the OwnCloud Appliance with UCS (from the OwnCloud website), which puts OwnCloud in a docker container and UCS provides management for users and upgrades (and makes disk resizes hell).

Today I upgraded the OwnCloud “App” within UCS from 10.0.9 to 10.0.10. Before the upgrade I had added the following additional file in “/etc/apache2/sites-enabled” to allow OwnCloud be accessed from an external network and not have UCS page show up:

<VirtualHost *:80>
ServerName domain_name
ServerAlias [SERVER EXTERNAL IP]
ServerAlias other_domain_name

    ProxyPass / ht|tp://127.0.0.1:40000/ retry=0
    ProxyPassReverse / ht|tp://127.0.0.1:40000/

<VirtualHost *:443>
ServerName domain_name
ServerAlias [SERVER EXTERNAL IP]
ServerAlias other_domain_name

    ProxyPass / ht|tps://127.0.0.1:40001/ retry=0
    ProxyPassReverse / ht|tp://127.0.0.1:40001/

(note I’ve out a line in between “ht” and “tp” due to the 2 links limitation on posts.

After the upgrade OwnCloud was not accessible externally. I opened “000-default.conf” in the same folder and noticed that the ProxyPass port has changed to 40003.

Is there any way to force the port to stay the same or a more elegant way to do the redirect as per the config above?


#2

I think this is a question for the univention forum:


Increase disk space - appliance