Здравствуйте. Кто нибудь сталкивался с настройкой автоподдоменов. По дефолту ispmanager даёт такую конфигурацию:
Config
server {
server_name albitov.example.ru www.albitov.example.ru;
charset UTF-8;
index index.php index.html;
disable_symlinks if_not_owner from=$root_path;
include /etc/nginx/vhosts-includes/.conf;
include /etc/nginx/vhosts-resources/albitov.example.ru/.conf;
access_log /var/www/httpd-logs/albitov.example.ru.access.log;
error_log /var/www/httpd-logs/albitov.example.ru.error.log notice;
ssi on;
set $root_path /var/www/developers/data/www/albitov.example.ru;
root $root_path;
listen ...:80;
listen [:::::::]:80;
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)$ {
try_files $uri $uri/ @fallback;
}
location / {
try_files /does_not_exists @fallback;
}
}
location @fallback {
proxy_pass http://127.0.0.1:8080;
proxy_redirect http://127.0.0.1:8080 /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
access_log off;
}
}
Что не хватает для корректной работы cs-cart?