Skip to content
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

Revere proxy #1046

Open
Thisora opened this issue Oct 27, 2022 · 0 comments
Open

Revere proxy #1046

Thisora opened this issue Oct 27, 2022 · 0 comments

Comments

@Thisora
Copy link

Thisora commented Oct 27, 2022

Hi !
I would like to use grav as a service behind a reverse proxy inside my cluster (kubernetes).
The fact is i have a rewrite-target instruction which let me place my service on a certain URL seamlessly.
For exemple http://exemple.com/grav will automatically send the request to my grav service but at url http://exemple.com/ .
The HTML load correctly but every ressources (like css) are not loading because request url is wrong.
For exemple theme is trying to load http://exemple.com/user/themes/quark... which of course does not exist (should be http://exemple.com/grav/user/themes/quark...).

I tryed with/without parameters reverse_proxy_setup: true and absolute_urls: false in file config/www/user/config/system.yaml but that didn't solve the problem.

In fact i look for a way to use relative url to ressources.
Sorry if i missed something obvious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant