B
B
braindev2021-12-18 13:46:42
Nginx
braindev, 2021-12-18 13:46:42

Opening site only by domain name in IspManager 6?

Hello everyone, please tell me how to disable redirect in IspManager 6 when opening an IP address in a browser and hang return 403 on it; ? That is, I need the site to open only by domain. I can't figure out how to do it using Spanish. I use NGINX + FASTCGI bundle

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2021-12-19
@karabanov

braindev , the advice is correct. The chip is in the post-application processing of the request. For example, if a virtual host has an explicit IP address specified in listen, then the request will be passed to it for processing.
P.S.
How nginx handles requests

A
Alexey Dmitriev, 2021-12-18
@SignFinder

Configure nginx default site as needed
https://www.google.com/search?q=nginx+default+site

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question