We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Не стартует nginx
Не стартует nginx
Приветствую всех. Потребовалось перезапустить сервис и вывалилась следующая ошибка:
nginx: [emerg] "location" directive is not allowed here in /etc/nginx/conf.d/webmail.inc:1
Вроде ничего особого в нем, но гугл ничего не знает об именно об этой ошибки.
Прошу совета что это может быть.
nginx: [emerg] "location" directive is not allowed here in /etc/nginx/conf.d/webmail.inc:1
SpoilerShow
Содержимое:
location /webmail {
alias /var/lib/roundcube/;
location ~ /(config|temp|logs) {
return 404;
}
location ~ ^/webmail/(.*\.php)$ {
alias /var/lib/roundcube/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
location /webmail {
alias /var/lib/roundcube/;
location ~ /(config|temp|logs) {
return 404;
}
location ~ ^/webmail/(.*\.php)$ {
alias /var/lib/roundcube/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
Прошу совета что это может быть.