-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grav with custom_base_url stops loading CSS and JS #3238
Comments
Custom base URL is meant for sites that are behind a proxy server. So you shouldn't use it and instead have your Grav instance under that folder in the web root. |
Sure, I get that. Probably I should have mentioned that I'm setting up an Application Gateway with a I have tried the following combinations:
|
So the custom base URL should be the address people use to access the server. So if your Grav installation can be accessed from |
I'm sorry to say that starting with 1.7 I'm getting this problem (but this opposite way).
|
As the issue has been closed for a long time, please create a new issue from this. |
Hello everyone,
I am experimenting with custom base urls with Grav and this is getting a bit over my head. Whenever I setup a custom base url like
/info
(using relative urls) assets are no longer loaded (404 errors) because Grav will try to load them from eghttps://mydomain/info/someasset.css
, and of course, it will error out with 404.Are there any settings I'm missing to make it work?
P.S.: Custom Base Url is the only setting I am changing.
The text was updated successfully, but these errors were encountered: