# Apache: Rocket.Chat unter https://app.j-jn.com/server
# -------------------------------------------------------
# Einmalig: sudo a2enmod proxy proxy_http headers
# Dann in den VirtualHost für app.j-jn.com (Port 443) einfügen ODER
# per Include einbinden: Include /var/www/app.j-jn.com/server/apache-rocketchat.conf
# Danach: sudo systemctl reload apache2
# Rocket.Chat starten: cd /var/www/app.j-jn.com/server && sudo docker compose up -d
# -------------------------------------------------------

    ProxyPreserveHost On
    RequestHeader set X-Forwarded-Proto "https"
    ProxyPass /server http://127.0.0.1:3000/
    ProxyPassReverse /server http://127.0.0.1:3000/
