claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 184 forks source link

nginx + proxy_pass = odd double /wiki in path #131

Open ktiedt opened 8 years ago

ktiedt commented 8 years ago

I have setup a reverse proxy for /wiki on my website and it appears to all be working correctly... however, when jingo returns its URLs (say I goto website/wiki) it doubles up on wiki/ and I land on website/wiki/wiki/Home -- I have the proxyPath prefix config and I've even tried a baseUrl override to kill the extra /wiki but nothing seems to work.

claudioc commented 8 years ago

mmmmh, I have a deja vu about that.

Thank you for noticing and reporting!

ktiedt commented 8 years ago

Np, I tried to make a PR to fix tihs, but path resolution seems to be kinda spread out from what I remember (on why I gave up).

vaidd4 commented 7 years ago

Ref https://github.com/claudioc/jingo/issues/201 for the double /wiki