Решение: location / { index index.html; } location = /index.html { internal }by maximv - Russian Forum
Нужно, чтобы при обращений к location / он отдавал index.html из root, но при запросе файла index.html напрямую выдавал 404. example.com -> 'Hello, world!' example.com/index.html -> 404 Такая конструкция не работает: location / { index index.html; } location = /index.htby maximv - Russian Forum