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

application.proxyPath doesn't "work correctly"? #242

Open
jandrieu opened this issue Jun 7, 2018 · 1 comment
Open

application.proxyPath doesn't "work correctly"? #242

jandrieu opened this issue Jun 7, 2018 · 1 comment
Labels

Comments

@jandrieu
Copy link

jandrieu commented Jun 7, 2018

In the reference documentation, we have:

application.proxyPath (string: "")

If you want jingo to work "behind" another website (for example in a /wiki directory of an already existing intranet), you need to configure it to be aware of that situation so that it can write all the outbound URLs accordingly. Use this option to pass it the name of the directory that you've configured in your proxy_pass option in nginx or apache. See also an nginx example in the /etc directory of the jingo source distribution.

Please note that jingo won't work correctly if this option is activated.

What does it mean that jingo won't work correctly with this option? Why have it if it doesn't work correctly?

@claudioc
Copy link
Owner

claudioc commented Aug 4, 2018

Hi @jandrieu

I think I wrote that (silly) note as a disclaimer to avoid having to deal with weird and complex setups that people may put in place (I am the only maintainer/developer of the project and I need to keep things as simple as possible). I think that over time I haven't received any issues about it and we now also have a couple of a pages in this wiki (https://github.com/claudioc/jingo/wiki) explaining more in details how to setup a reverse proxy with Jingo.

Thanks! (I will flag this as a bug and remove the note with the next release)

@claudioc claudioc added the bug label Aug 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants