Commit 191132f
committed
MK8S-25: Fix nginx root directory access with index.html
Add nginx root directory (/var/www/repositories/) to index.html creation
for scality repository. This fixes the error:
"directory index of /var/www/repositories/ is forbidden"
The health check and nginx now have proper index.html files at all levels:
- /var/www/repositories/index.html (nginx root)
- /var/www/repositories/metalk8s-131.0.0-dev/index.html (saltenv root)
- Repository-specific index.html files
This ensures nginx can serve directory requests when autoindex is disabled.1 parent d720372 commit 191132f
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
| |||
0 commit comments