web
web copied to clipboard
Apache Reverse-Proxy
Hi,
I'd like to make my install (running on a RasPi with OSMC) availabe behind an Apache-server running on my Ubuntu-server. I put it in my apache 000-default.conf like this:
ProxyPass http://192.168.1.13 ProxyPassReverse http://192.168.1.13
When I go to https://
Anything I can adjust to make this work? :-)
I get the same issue when I use HTTPS instead of HTTP, I see in the console that the javascript and css files are not loaded, they are blocked since they are requested as HTTP.
The page at 'https://camera1.domainname.com/login' was loaded over HTTPS, but requested an insecure stylesheet 'http://camera1.domainname.com/js/vendor/csshake/dist/csshake.css'. This request has been blocked; the content must be served over HTTPS.
I fixed this by adding \URL::forceScheme('https');
to the web routes file.