Linux Ubuntu:
I am trying to install the openkm-ce Docker-container container and use the regular (as in not a Docker container) Apache2 reverse proxy to allow external access.
The login-page does open, but when I try to log in as okmAdmin, the login-screen reloads (with a new session ID).
I started the docker container with:
The Apache-config file looks like this:
Has anyone sucessfully managed to do this?
I am trying to install the openkm-ce Docker-container container and use the regular (as in not a Docker container) Apache2 reverse proxy to allow external access.
The login-page does open, but when I try to log in as okmAdmin, the login-screen reloads (with a new session ID).
I started the docker container with:
Code: Select all
I added the 127.0.0.1 in order to prevent direct access to the container from external sources.docker run --name openkm-ce -p 127.0.0.1:8080:8080 openkm/openkm-ce
The Apache-config file looks like this:
Code: Select all
The "openkm.mydomain.com" is one of multiple domains pointing to the server.<VirtualHost *:80>
ServerName openkm.mydomain.com
RedirectMatch ^/$ /OpenKM
ProxyPreserveHost Off
ProxyRequests Off
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
ErrorLog /var/log/apache2/openkm-error.log
CustomLog /var/log/apache2/openkm-access.log combined
</VirtualHost>
Has anyone sucessfully managed to do this?