Für diejenigen, die später auf der Suche nach einer Lösung für ein ähnliches Problem sind, folgt hier meine apache-site.conf, mit welcher ich den kompletten VIS durch den modProxy von Apache bekommen habe.
Meine Lösung ist stark angelehnt an die Vorlage von nobody hier aus dem Forum http://forum.iobroker.net/viewtopic.php?t=1227.
! ````
<ifmodule mod_ssl.c=""><virtualhost :443="">ServerName vis.DOMAINNAME.de
ServerAdmin admin@DOMAINNAME.de
! SSLEngine On
! SSLCertificateFile /etc/letsencrypt/.../fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/.../privkey.pem
! ProxyRequests Off
! <location>Order deny,allow
Allow from all
! AuthUserFile /etc/apache2/.htpasswd
AuthName "dllb is greeting..."
AuthType Basic
! require valid-user</location>
! <ifmodule mod_proxy.c="">ProxyRequests off
RewriteEngine On
redirectmatch ^$ /
rewritecond %{REQUEST_URI} ^/
rewriterule (.) $1 [PT]
! rewritecond %{HTTP_REFERER} https://vis.DOMAINNAME.de/
rewritecond %{REQUEST_URI} !^/static/
rewritecond %{REQUEST_URI} !^/socket.io/
rewriterule ^/(.*) /$1 [PT]
ProxyPass / http://127.0.0.1:8082/ timeout=10
ProxyPassReverse / http://127.0.0.1:8082/ timeout=10</ifmodule>
! <ifmodule mod_proxy.c="">ProxyRequests off
RewriteEngine On
redirectmatch ^/lib$ /lib/
rewritecond %{REQUEST_URI} ^/lib/
rewriterule (.) $1 [PT]
ProxyPass /lib/ http://127.0.0.1:8082/lib/ timeout=10
ProxyPassReverse /lib/ http://127.0.0.1:8082/lib/ timeout=10</ifmodule>
! <ifmodule mod_proxy.c="">ProxyRequests off
RewriteEngine On
redirectmatch ^/flot$ /flot/
rewritecond %{REQUEST_URI} ^/flot/
rewriterule (.) $1 [PT]
ProxyPass /flot/ http://127.0.0.1/flot/ timeout=10
ProxyPassReverse /flot/ http://127.0.0.1:8082/flot/ timeout=10</ifmodule>
! <ifmodule mod_proxy.c="">ProxyRequests off
RewriteEngine On
redirectmatch ^/rickshaw$ /rickshaw/
rewritecond %{REQUEST_URI} ^/rickshaw/
rewriterule (.) $1 [PT]
ProxyPass /rickshaw/ http://127.0.0.1:8082/rickshaw/ timeout=10
ProxyPassReverse /rickshaw/ http://127.0.0.1/rickshaw/ timeout=10</ifmodule>
! <ifmodule mod_proxy.c="">RewriteEngine On
Redirectmatch ^/socket.io$ /socket.io/
RewriteCond %{REQUEST_URI} ^/socket.io/
RewriteCond %{QUERY_STRING} transport=websocket
RewriteRule ^/(.) /wss/$1 [PT]
ProxyPass /wss/ ws://127.0.0.1:8082/ timeout=1200 Keepalive=On
#ProxyPassReverse / ws://127.0.0.1:8082/</ifmodule>
! <ifmodule mod_proxy.c="">ProxyRequests off
RewriteEngine On
Redirectmatch ^/_socket$ /_socket/
RewriteCond %{REQUEST_URI} ^/_socket/
! RewriteRule (.) $1 [PT]
ProxyPass /_socket/ http://127.0.0.1:8082/_socket/
ProxyPassReverse /_socket http://127.0.0.1:8082/_socket/</ifmodule>
! <ifmodule mod_proxy.c="">ProxyRequests off
RewriteEngine On
Redirectmatch ^/socket.io$ /socket.io/
RewriteCond %{REQUEST_URI} ^/socket.io/
RewriteCond %{QUERY_STRING} transport=polling
RewriteRule (.) $1 [PT]
! ProxyPass /socket.io/ http://127.0.0.1:8082/socket.io/
ProxyPassReverse /socket.io/ http://127.0.0.1:8082/socket.io/</ifmodule>
! Loglevel warn
ErrorLog /var/log/apache2/iobroker-vis-warn.log</virtualhost></ifmodule>
! ````