[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-warning-deployment-serves-a-directory-listing-instead-of-a":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":26,"why":41,"log":46,"fix":77,"engine":97,"related":107,"pitch":115},"dockerfile","deployment-serves-a-directory-listing-instead-of-a","Deployment serves a directory listing instead of a page","Dockerfile",{"description":9},"The site is serving a directory listing instead of a page. Nothing in the document root is an index page. Add one, or set `static_index` in panelalpha.yaml. | T",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fdockerfile",{"label":6},"",[19,21,24],{"text":20},"The site is serving a directory listing instead of a page. Nothing in the document root is an index page. Add one, or set ",{"text":22,"code":23},"static_index",true,{"text":25}," in panelalpha.yaml. | The application is deployed but not reachable from the internet: \u003Caccount>.10-10-10-45.panelalpha.direct resolves to this host's private address, so it answers on this network only. The public name was skipped: no public IPv4: the host's address is private, so panelalpha.online could not serve it. Point a domain you control at this host, o…",[27,32,35,37],{"label":28,"value":29,"tone":30,"tooltip":31},"Type","Warning","warn","An issue PanelAlpha Engine catches around a deploy that does not break it. It tells you, before or after, that you may need to do something.",{"label":33,"value":34},"Seen","2 times",{"label":36,"value":7},"Where",{"label":38,"value":39,"tooltip":40},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":42,"body":43},"Why it happens",[44],{"text":45},"The container built and started successfully, and port 8080 returned HTTP 200. However, the document root has no index page, so Apache serves a directory listing instead. The Dockerfile also removes Apache’s default index file.",{"heading":47,"block":48},"What the log looks like",{"header":49,"lines":50},"Deploy log",[51,55,59,63,65,69,73],{"segments":52},[53],{"text":54},"Image project-app Built",{"segments":56},[57],{"text":58},"Container project-app-1 Starting",{"segments":60},[61],{"text":62},"Container project-app-1 Started",{"segments":64,"blank":23},[],{"segments":66},[67],{"text":68},"health check: port 8080 returned HTTP 200",{"segments":70},[71],{"text":72},"health check: serving directory_listing",{"segments":74},[75],{"text":76},"health check failed: no index page in document root",{"heading":78,"steps":79,"block":94},"How to fix it",[80],[81,83,85,87,88,90,92],{"text":82},"Add an index file to the directory served by Apache, such as ",{"text":84,"code":23},"\u002Fusr\u002Flocal\u002Fapache2\u002Fhtdocs\u002Findex.html",{"text":86},", and ensure the Dockerfile copies it there. If the directory listing is intentional, set ",{"text":22,"code":23},{"text":89}," in ",{"text":91,"code":23},"panelalpha.yaml",{"text":93}," to the correct entry file. Rebuild and redeploy, then verify the configured port and document root.",{"header":95,"lines":96},"Fix by hand",[],{"heading":98,"body":99,"block":105},"How PanelAlpha Engine solves it",[100,102,103],{"text":101},"The Engine could surface the detected document root and list likely index files, especially when the Dockerfile removes the base image’s default index.html. It could also provide a direct ",{"text":22,"code":23},{"text":104}," suggestion when directory listing is detected.",{"header":17,"lines":106},[],{"heading":108,"items":109},"Apps affected",[110],{"title":111,"badge":112,"tone":113,"href":114},"dufs","2 occurrences","err","\u002Fapps\u002Fsigoden\u002Fdufs",{"heading":116,"body":117,"footNote":118,"docsLabel":119,"docsHref":120},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]