sasanrose / phpredmin

Yet another web interface for Redis
BSD 3-Clause "New" or "Revised" License
404 stars 96 forks source link

Use relative paths for resources #66

Closed luca-moser closed 8 years ago

luca-moser commented 9 years ago

Hi, I am currently setting up phpredmin and running into an issue because the website tries to load stylesheets etc. through http.

My setup is a Nginx server proxying into a VM on the same machine also running Nginx which has phpredmin installed. The issue is that the resource tags in the html are written like this: http://example.com/font-awesome/css/font-awesome.min.css even though I am access through https.

Other applications like phpmyadmin also running on the same machine work without problems, because they don't use full urls (why would they?).

Is there any reason why full urls are used instead of relative paths and or it isn't recognizing that I coming through https?

The host Nginx server is setup to forward the protocol infos to the Nginx server in the VM.