-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'm running zk on tomcat and trying to use nginx to get a more friendly URL. The page loads but the urls generated for the various resources are "wrong." It wont let me post a link to the example... If you ask for it I will do an obfuscated one, but don't want to piss anyone off.
I've googled around a bit but haven't found an answer.
Few more hours of messing around and this is what I got: location / { subfilter "/pipeline/" "/"; subfilteronce off; rewrite ^/pipeline/(.*)$ /$1 redirect; include /etc/nginx/proxy.conf; proxypass http://127.0.0.1:8080/pipeline/; }
Seems to be working.
Asked: 2013-10-01 18:12:32 +0800
Seen: 17 times
Last updated: Oct 02 '13