
Пруфы https://habrahabr.ru/post/252821/ Конфиг server { server_name site.ru www.site.ru; charset UTF-8; index index.html index.php; disable_symlinks if_not_owner from=$root_path; include /etc/nginx/vhosts-includes/*.conf; include /etc/nginx/vhosts-resources/site.ru/*.conf; access_log /var/www/httpd-logs/site.ru.access.log; error_log /var/www/httpd-logs/site.ru.error.log notice; ssi on; set $root_path /var/www/seaberia/data/www/site.ru; root $root_path; location / { location ~ [^/]\.ph(p\d*|tml)$ { try_files /does_not_exists @fallback; } location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf|eot|svg|ttf|woff|otf|woff2|map|svg|docx?|xlsx?|rtf|txt|rar|ico|pdf|djvu|mp4|map)$ { try_files $uri $uri/ @fallback; expires 1M; } location […]