Nginx не выдается index
Собственно, поменял VDS. Вместе со сменой VDS переехали и nginx конфиги.
На старом все работало, здесь же отказывается выдаваться index (возвращается код 404).
server {
listen 443 ssl;
server_name yyy.xxx.ru;
client_max_body_size 5m;
add_header X-UA-Compatible "IE=Edge,chrome=1";
access_log /var/log/nginx/yyy.xxx_access.log;
error_log /var/log/nginx/yyy.xxx_error.log;
ssl_certificate /etc/letsencrypt/live/yyy.xxx.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/yyy.xxx.ru/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
root /root/web/xxx/yyy;
index index.html;
location / {
try_files $uri $uri/ =404;
}
location /info {
include proxy_params;
proxy_pass http://localhost:8013;
}
}
ls директории yyy, все честно.
root@icyftl:~/web/xxx/yyy# ls
Server.py css docker-compose.yml dockerfile favicon.ico fonts img index.html js
requirements.txt
Причем, я могу получить путь /info. Все выводится так, как и должно, но вот с index.