Entry added in default-ssl.conf - good idea?

hi,
I’ve set up a member server with Confluence. I want to use this via the reverse proxy of the UCS server and have added 2 lines in the default-ssl.conf and everyting works fine.

ProxyPass /confluence http://192.168.1.5:8090/confluence retry=0
ProxyPassReverse /confluence http://192.168.1.5:8090/confluence

My question is whether this entry will survive an update of the system or whether it would be better to outsource this to my own conf?

tia,
hpz

you should definitely put it into your own conf. the header of the file you specified already said that your changes will be overwritten:

# Warning: This file is auto-generated and might be overwritten by
#          univention-config-registry.
#          Please edit the following file(s) instead:
# Warnung: Diese Datei wurde automatisch generiert und kann durch
#          univention-config-registry ueberschrieben werden.
#          Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):
#
#       /etc/univention/templates/files/etc/apache2/sites-available/ssl.d/00start
#       /etc/univention/templates/files/etc/apache2/sites-available/ssl.d/10hsts
#       /etc/univention/templates/files/etc/apache2/sites-available/ssl.d/10univention-appcenter
#       /etc/univention/templates/files/etc/apache2/sites-available/ssl.d/99end
#

If you want to keep it minimal you could post your two liner as a yourname.conf file into /etc/apache2/ucs-sites.conf.d/

1 Like