Hi all,
I am using openKM 6.3.11 CE (installed with postgresql and java on ubuntu 20.04 server. However, I have stumbled upon a writing about not exposing openKM directly to the web but using apache as a reverse proxy:
https://docs.openkm.com/kcenter/view/ok ... proxy.html
I have executed all these steps but still am not able to see the https://mydomain.com (my browser gives an error saying This site can’t be reached)
If I type http://mydomain.com, I get to see the apache standard greeting (Apache2 Ubuntu Default Page)
My /etc/apache2/sites-available/openkm.conf file looks like this
I am using openKM 6.3.11 CE (installed with postgresql and java on ubuntu 20.04 server. However, I have stumbled upon a writing about not exposing openKM directly to the web but using apache as a reverse proxy:
https://docs.openkm.com/kcenter/view/ok ... proxy.html
I have executed all these steps but still am not able to see the https://mydomain.com (my browser gives an error saying This site can’t be reached)
If I type http://mydomain.com, I get to see the apache standard greeting (Apache2 Ubuntu Default Page)
My /etc/apache2/sites-available/openkm.conf file looks like this
Code: Select all
Can somebody help me diagnose this?<VirtualHost *:80>
ServerName mydomain.com
Redirect permanent / https://mydomain.com/
</VirtualHost>
<VirtualHost *:443>
ServerName mydomain.com
RedirectMatch ^/$ /OpenKM
# WebSocket support - needs proxy-wstunnel
ProxyPass /OpenKM/frontend/webSocket wss://127.0.0.1:8080/OpenKM/frontend/webSocket
ProxyPassReverse /OpenKM/frontend/webSocket wss://127.0.0.1:8080/OpenKM/frontend/webSocket
ProxyPass /OpenKM ajp://127.0.0.1:8009/OpenKM
ProxyPassReverse /OpenKM https://mydomain/OpenKM
ErrorLog /var/log/apache2/mydomain.com-error.log
CustomLog /var/log/apache2/mydomain.com-access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>