I'm facing issues while trying to run Memgraph lab behind Apache reverse proxy. I get the following error
And my Apache configuration file is as follows:
<VirtualHost *:80>
#ServerName my-server-name.com
ServerName localhost
# Redirect all port 80 traffic to 443
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</VirtualHost>
<VirtualHost *:443>
# Setup logging
LogLevel info rewrite:trace1
ErrorLog ${APACHE_LOG_DIR}.error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# Configure SSL
SSLEngine on
SSLCertificateFile certificate-file.cer
SSLCertificateKeyFile certificate-key.key
SSLProxyEngine On
# Disable weak SSL ciphers
SSLProtocol -ALL +TLSv1.2
SSLCipherSuite HIGH:!MEDIUM:!aNULL:!MD5:!SEED:!IDEA:!RC4
SSLHonorCipherOrder on
TraceEnable off
# Enable HSTS with max age of 2 years
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains;"
ServerName localhost
ProxyPreserveHost On
RewriteEngine On
# Redirects for Memgraph
ProxyRequests Off
ProxyPreserveHost On
Timeout 5400
ProxyTimeout 5400
<Proxy http://localhost/memgraph*>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /memgraph http://localhost:3000 nocanon
ProxyPassReverse /memgraph http://localhost:3000
# Enable ModSecurity
SecRuleEngine Off
SecStatusEngine off
</VirtualHost>
Tried reading through error logs but it only returned 504 error code. Expecting to access Memgraph Lab behind apache reverse proxy