Fix nginx index directive order for root directory

- Changed index order from 'index.html index.htm index.php' to 'index.html index.php index.htm'
- This fixes 403 forbidden errors when accessing root directory
- index.html should be checked first for root requests, then index.php
- Resolves directory listing forbidden errors in container logs
This commit is contained in:
Tim Bendt
2025-11-29 21:09:59 -05:00
parent 1be98c62bc
commit 003b467a21

View File

@@ -12,7 +12,7 @@ events {
http {
include $!{nginx}/conf/mime.types;
index index.html index.htm index.php;
index index.html index.php index.htm;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $status '