Hi, if I open hestia IP in the browser, the page (domain) is displayed, from first server block (Alphabetical first). In config is:
server {
listen 80 default;
server_name _;
location / {
access_log /dev/null;
error_log /dev/null;
root /var/www/html;
location /phpmyadmin/ {
alias /var/www/document_errors/;
return 404;
}
location /phppgadmin/ {
alias /var/www/document_errors/;
return 404;
}
location /webmail {
alias /var/www/document_errors/;
return 404;
}
location /webmail/ {
alias /var/www/document_errors/;
return 404;
}
location /error/ {
alias /var/www/document_errors/;
}
}
}
If I understand, the content should be displayed from /var/www/html
Is there something wrong with the configuration? There is only nginx, without apache.
Sry eng. is not my native language.
edit: solution How to configure Nginx for calls to not hosted domain names