Welcome! Log In Create A New Profile

Advanced

Default Server Block

Posted by skynavigator 
Default Server Block
September 22, 2022 11:08AM
Hello guys, how are you, thanks for the opportunity to work in this community.

I would like to ask you if there is a DEFAULT SERVER BLOCK that works for some reason as default (eventought it is not registered as)

I have an architecture of a single NGINX machine working as a reverse-proxy to other 600 machines

So when you reach my RP Machine IP Requesting a specific domain it works perfectly.

BUT if I access the RP Machine IP only without any request it redirect to specifc server block (altought it hasn't been defined to do so).
By coincidence or failure in my configuration or an nginx problem I still don't know for sure the reason when I access the IP of my reverse-proxy unfortunately it redirects to the first server-block created inside the sites-enabled folder and not to a folder internals of NGNIX as it should (normally /var/www/html or something like that)

Does anyone know how to fix this error or misconfiguration?

Thanks
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
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