Closed schmaluk closed 7 years ago
Relative paths are used already, utilizing the asset() helper function, which constructs the correct link based on the requested scheme. I have tested it locally with Apache and it works out of the box as you can see below.
Perhaps this is an issue with proxy as discussed here
I have checked and there is no X-Forwarded-Proto header on the response header so maybe that's the issue.
Maybe this helps.
Any update on this?
Not yet. Sorry.
You have not tested or it is not working?
I have tested it already but without the CSS, JS-links working. I tried to pass the request via http to apache from nginx. Probably I need to enable https for the apache and pass the request to apache via https from nginx.
OK, please inform on any update. This seems not to be related with the app but with the server configuration as I can not reproduce it.
In order to serve the Alignment app also via https it might be good, if the URLs of the assets (css, js and other links) are at least protocol relative instead of absolute paths. https://www.paulirish.com/2010/the-protocol-relative-url/