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

calling tomcat server using lua script #51

Closed
NithishReddy opened this issue Sep 8, 2017 · 1 comment
Closed

calling tomcat server using lua script #51

NithishReddy opened this issue Sep 8, 2017 · 1 comment

Comments

@NithishReddy
Copy link

Hi ,
what i am trying to do is.

i want to call tomcat server from nginx using lua script (or any other way), after getting the response from the tomcat server i will decide either i have to forward this request to apache server or serve content from nginx cache.
how this issue can be solved .. and is there any solution.

Note : flow has to be from nginx to tomcat then nginx to apache or browser.
Web ---> nginx <---> tomcat
|
apache

@agentzh
Copy link
Member

agentzh commented Sep 8, 2017

@NithishReddy I'm afraid you are posting things to the wrong repository? You know what lua-upstream-nginx-module is about, right?

Please join the openresty-en mailing list for such general usage questions. The GitHub repos' issues boards are reserved for real bug reports and patch submissions. Thanks for
your cooperation! Please see https://openresty.org/en/community.html

BTW, tomcat and apache never matter here as long as they speak the standard wire protocols.

@agentzh agentzh closed this as completed Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants