Page 1 of 1

шаблон http2

Posted: Sat Mar 23, 2019 4:05 pm
by Sauuye5yan
Здравствуйте.

Свежепоставленная vesta на ubuntu 18 x64. В шаблонах http2 хардкод в пути:
error_log /var/log/httpd/domains/%domain%.error.log error;
из-за этого nginx не рестартится после добавления юзера с этим шаблоном:

Code: Select all

Mar 23 16:54:22 ru.ru systemd[1]: Starting nginx - high performance web server...
Mar 23 16:54:22 ru.ru nginx[19654]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/
Mar 23 16:54:22 ru.ru nginx[19654]: nginx: [emerg] open() "/var/log/httpd/domains/test1.ru.ru.error.log" failed (2: No such file or directory)
Mar 23 16:54:22 ru.ru systemd[1]: nginx.service: Control process exited, code=exited status=1
Mar 23 16:54:22 ru.ru systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 23 16:54:22 ru.ru systemd[1]: Failed to start nginx - high performance web server.

Re: шаблон http2

Posted: Sat Mar 23, 2019 8:19 pm
by imperio
Здравствуйте.
Используйте данный шаблон https://github.com/serghey-rodin/vesta/ ... http2.stpl