
LoadModule proxy_http2_module modules/mod_proxy_http2.so
<VirtualHost *:80>
ServerName zitadel.my.domain
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
<VirtualHost *:443>
ServerName zitadel.my.domain
ProxyPreserveHost On
ProxyPass / h2c://localhost:8080/
ProxyPassReverse / h2c://localhost:8080/
SSLCertificateFile ssl/certificate.pem
SSLCertificateKeyFile ssl/key.pem
</VirtualHost>