Aleksandr Sytar Wrote: ------------------------------------------------------- > 2018-01-15 11:43 GMT+03:00 ellaizzer <nginx-forum@forum.nginx.org>: > > > > > Проблема в том что не кешуруются файлы на псевдонимах m.example.com > и > > www.m.example.com, но кешируются на example.com и www.example.cby ellaizzer - Nginx Mailing List - Russian
Here is its nginx config: server { server_name example.com m.example.com www.example.com www.m.example.com; charset off; disable_symlinks if_not_owner from=$root_path; index index.html index.php; root $root_path/$subdomain; set $root_path /var/www/examplecom/data/www; set $subdomain example.com; ssi on; access_log /var/www/httpd-logs/example.com.access.log ; error_log /var/wby ellaizzer - How to...
Есть сайт (заменил на example.com) Вот его nginx конфиг: server { server_name example.com m.example.com www.example.com www.m.example.com; charset off; disable_symlinks if_not_owner from=$root_path; index index.html index.php; root $root_path/$subdomain; set $root_path /var/www/examplecom/data/www; set $subdomain example.com;by ellaizzer - Nginx Mailing List - Russian