@everyone
Hey !
I come to ask for help. I host Appwrite on a VPS, Apache redirects to Appwrite's port through a reverse proxy.
When I go to https://MY_VPS_IP.com I can connect to the back office.
When I go to https://appwrite.example.com I get the following message.
I changed my environment variables:
_APP_DOMAIN = appwrite.example.com
_APP_DOMAIN_TARGET = appwrite.example.com
Any ideas ?
If needed, my Apache .conf file:
<VirtualHost *:80>
ServerName www.appwrite.example.com
ServerAlias appwrite.example.com
ErrorLog /var/www/appwrite.example.com/log/error.log
CustomLog /var/www/appwrite.example.com/log/requests.log combined
Redirect permanent / https://appwrite.example.com/
<VirtualHost *:443>
ServerName www.appwrite.example.com
ServerAlias appwrite.example.com
ErrorLog /var/www/appwrite.example.com/log/error.log
CustomLog /var/www/appwrite.example.com/log/requests.log combined
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/appwrite.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/appwrite.example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/appwrite.example.com/chain.pem
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
ProxyPass / https://localhost:20443/
ProxyPassReverse / https://localhost:20443/
