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