sites-enabled/000-default.conf
#<VirtualHost ...>
# ProxyPreserveHost On
# ProxyPass "/" "http://localhost:8080/"
# ProxyPassReverse "/" "http://localhost:8080/"
# ServerName api.monetaryunit.org
#</VirtualHost>
sites-enabled/001.conf
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass "/" "http://localhost:8080/"
ProxyPassReverse "/" "http://localhost:8080/"
ServerName api.monetaryunit.org
</VirtualHost>
sites-available/default-ssl.conf
<IfModule>
[...]
<VirtualHost *:443>
ServerName api.monetaryunit.org
ProxyPreserveHost On
ProxyPass "/" "http://localhost:3000/"
ProxyPassReverse "/" "http://localhost:3000/"
</VirtualHost>
<VirtualHost *:443>
ServerName explorer.monetaryunit.org
ProxyPreserveHost On
ProxyPass "/" "http://localhost:8080/"
ProxyPassReverse "/" "http://localhost:8080/"
</VirtualHost>
</IfModule>