Problem with apache revers proxy

Hello,

I have an problem on bitwarden installation.

I have one server witch docker and bitwarden with self signed certificate and one server for revers proxy with apache2 with Let’s Encrypt certificate.

My problem is. Access to bitwarden in local it’s ok, but in internet it is’nt ok.

Here is my conf:
In bitwarden:

In revers proxy server with apache2:
bitwarden.conf

<VirtualHost *:80>

ServerName domaine.xx
ProxyPass / https://192.168.200.210:8443/
ProxyPassReverse / https://192.168.200.210:8443/
ProxyRequests Off
ProxyPreserveHost On
RewriteEngine on
RewriteCond %{SERVER_NAME} =domaine.xx
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

bitwarden-le-ssl.conf

<VirtualHost *:443>
  ServerName domaine.xx
  ProxyPass / https://192.168.200.210:8443/
  ProxyPassReverse / https://192.168.200.210:8443/
  ProxyRequests Off
  ProxyPreserveHost On
SSLCertificateFile /etc/letsencrypt/live/domaine.xx/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domaine.xx/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

I trying to change port number and http or https on bitwarden and bitwarden-le-ssl.conf . But nothing more.

Thank you in advance for your answers.
Regards,
Julien

Hello,

Now, it’s ok.

I have reinstall bitwarden docker and in configuration for the domain I have put an local IP.

Thanks,
Julien