вот часть конфига, которую я добавил:
CacheRoot "/home/ubuntu/cache"
CacheEnable disk /
CacheDirLevels 2
CacheDirLength 1
а вот вывод логов:
AH00526: Syntax error on line 41 of /etc/apache2/sites-enabled/000-default.conf:
Apr 26 13:55:27 ip-172-31-17-41 apachectl[32449]: CacheEnable cannot occur within section
Apr 26 13:55:27 ip-172-31-17-41 apachectl[32449]: Action 'start' failed.
Apr 26 13:55:27 ip-172-31-17-41 apachectl[32449]: The Apache error log may have more information.
Apr 26 13:55:27 ip-172-31-17-41 systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 26 13:55:27 ip-172-31-17-41 sudo[32443]: pam_unix(sudo:session): session closed for user root
Apr 26 13:55:27 ip-172-31-17-41 systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 26 13:55:27 ip-172-31-17-41 systemd[1]: Failed to start The Apache HTTP Server.
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.
Mon Apr 29 09:39:05.334386 2019] [mpm_prefork:notice] [pid 15557] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Mon Apr 29 09:39:05.334464 2019] [core:notice] [pid 15557] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 29 09:39:11.507889 2019] [mpm_prefork:notice] [pid 15557] AH00169: caught SIGTERM, shutting down