File vhost-osem.conf of Package osem-service
<VirtualHost *:80>
ServerName events-test.opensuse.org
ServerAdmin admin@opensuse.org
DocumentRoot /home/osem/events/current/public
CustomLog /home/osem/events/current/log/access.log combined
ErrorLog /home/osem/events/current/log/error.log
Include /etc/apache2/conf.d/mod_remoteip.conf
RewriteEngine on
RewriteRule "^/conference/(.+)" "https://events.opensuse.org/conferences/$1" [R,L]
<location /assets>
ProxyPass !
</location>
<location /system>
ProxyPass !
</location>
<location /robots.txt>
ProxyPass !
</location>
<location /img>
ProxyPass !
</location>
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
# don't loose time with IP address lookups
HostnameLookups Off
# needed for named virtual hosts
UseCanonicalName Off
# configures the footer on server-generated documents
ServerSignature On
<Directory "/home/osem/events">
Options FollowSymLinks
</Directory>
<Directory "/home/osem/events/current/public">
Options FollowSymLinks
AllowOverride All
Options -MultiViews
Require all granted
</Directory>
</VirtualHost>