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

Help needed to configure Waf2Py properly #17

Open
AppLEaDaY opened this issue Sep 22, 2023 · 2 comments
Open

Help needed to configure Waf2Py properly #17

AppLEaDaY opened this issue Sep 22, 2023 · 2 comments

Comments

@AppLEaDaY
Copy link

I installed the software correctly, though now I see quite a lot depends on my deduction.
The scenario where I might want to use Waf2Py is made of a nginx server working as a proxy for Docker containers.
So the application should be the name for the nginx virtual host, Listens to should be the public IP address bound to that name and Real web server should be the IP address of the container where the nginx virtual host would forward the requests to: is this correct?
I had a look at the Expert Configuration tab, but in the Nginx configuration section I find hard to interpret the proxy_pass line.
Anyway I clicked on the Enable application button, but the status of the website stays Disabled.
What am I missing?

Thanks in advance!

Andrea

@ch-rigu
Copy link
Contributor

ch-rigu commented Sep 26, 2023

yes, "Listen to" is the public address and the container address in "Real Application IPs". That need to configured under "HTTP/HTTPS" tab. Then press the "play" button and the app will be enabled.

Chris.

@ch-rigu ch-rigu closed this as completed Sep 26, 2023
@ch-rigu ch-rigu reopened this Sep 26, 2023
@AppLEaDaY
Copy link
Author

I press the play buttons, but every "app" I configured there stays disabled.
Actually I have no real container listening behind nginx, but I expect nginx virtual hosts could be enabled anyway.
How can I debug what's happening, or what is not happening?
Thanks in advance!

Andrea

image

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