-
Notifications
You must be signed in to change notification settings - Fork 111
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
Redirection to localhost #61
Comments
I am unfamiliar with Caddy, but I have run Instiki behind a reverse-proxy (using Apache). It works fine. In such a setup, Instiki does not know (and is not supposed to know) that it is running behind a reverse-proxy. Check the HTML source of the page in question. You should find that Instiki has generated relative URLs (of the form '/wiki/show/Foo'). These should work properly in a reverse-proxy situation. |
These work, but for instance, when I just go the website.com, I get redirected to http://localhost:2500/lab/show/HomePage instead of http://website.com/lab/show/HomePage |
So yeah, Caddy was misconfigured. Changing the rule to the following solves the issue:
I'm not sure it is a minimal working example, but it works. |
Hey,
I have a freshly new installed instiki on my server which I serve through Caddy using the following rule:
However, for most of the pages I go to, especially the first configuration page, I get redirected to
http://localhost:2500/....
instead ofhttp://notes.website.com/....
.I tried to find a relevant setting for that, but it doesn't appear to exist.
I'm running the latest release.
The text was updated successfully, but these errors were encountered: