0
我试图运行cockpit cms,它在dokku服务器上附带一个dockerfile文件。部署是好的,但我无法访问该网站。我得到在浏览器403,并在日志中这样说的:在dokku上运行驾驶舱cms
AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
我想我需要设置$_SERVER['DOCUMENT_ROOT']
地方?!?
我在哪里设置此项,并将其设置到哪条路径?
我可以将其设置为ENV吗?是/home/dokku/appname
?
感谢您的帮助!
P.S .:我是dokku和驾驶舱cms的新手。
你有没有固定的吗?我遇到了相同的日志相同的问题 – Quentin