Our Owncloud Server is working on our LAN not visible from internet.
One new requirement for us is to have public share links, so we have the following setup
1.On an internet accesible server (on ourdomain.com) we have an Apache with SSL working as reverse proxy for ALL access to /owncloud :
ProxyRequests Off ProxyPass /owncloud http://localserver/owncloud ProxyPassReverse /owncloud http://localserver/owncloud
2.In config.php add ourdomain.com to trusted_domains
3.When we generate a public share link we will have to change the host (from http://localserver/owncloud/s/token to https:///owncloud/s/token)
And, of course we cannot change any code in the server to avoid user logins, we still need to login on http://localserver/owncloud
Any suggestions will be appreciated!