1

ZK behind Nginx

asked 2013-10-01 18:12:32 +0800

duckman gravatar image duckman
11 1

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.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-02 22:32:29 +0800

duckman gravatar image duckman
11 1

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.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-10-01 18:12:32 +0800

Seen: 17 times

Last updated: Oct 02 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More