Welcome! Log In Create A New Profile

Advanced

How to set up a NGINX captive portal for a website?

Posted by RevNX 
How to set up a NGINX captive portal for a website?
October 27, 2019 05:08AM
Hello, I have two servers. On one I run a website called `example.com`

And at the moment I use the other server as a Nginx proxy. So I aimed the domain to the proxy server, which proxy passes the IP of the website server.

How can I implement a page on the proxy server to stop all incoming traffic and ask them for a simple captcha authentication? If the captcah is solved they will be proxy_passed to the IP of the other server, and will never see this page again. If they don't they will stay at the captcha page until they solve it. How can I do this?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready