HEX
Server: Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 mod_fcgid/2.3.9 PHP/5.4.16
System: Linux dvm.vladweb.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: region-gk.ru (1016)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //var/lib/letsencrypt/backups/1654177937.11/japanstyleauto.ru.conf_1
server {
    server_name japanstyleauto.ru www.japanstyleauto.ru  ;
    listen 212.16.195.25:80;
    listen 212.16.195.25:443 ssl ;

    ssl_certificate "/var/www/httpd-cert/japanstyleauto.ru_2022-05-05-23-29_45.crt";
    ssl_certificate_key "/var/www/httpd-cert/japanstyleauto.ru_2022-05-05-23-29_45.key";

    charset utf-8;

    gzip on;
    gzip_proxied expired no-cache no-store private auth;
    gzip_types text/css text/xml application/javascript text/plain application/json image/svg+xml image/x-icon;
    gzip_comp_level 4;

    set $root_path /var/www/japanstyleauto.ru/data/www/japanstyleauto.ru;
    root $root_path;
    disable_symlinks if_not_owner from=$root_path;

    location / {
        index index.php index.html;
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ \.php$ {
        include /etc/nginx/fastcgi_params;
        fastcgi_pass unix:/var/run/japanstyleauto.ru.sock;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        fastcgi_param DOCUMENT_ROOT $realpath_root;
     }

    location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpeg|avi|zip|gz|bz2|rar|swf|ico|7z|doc|docx|map|ogg|otf|pdf|tff|tif|txt|wav|webp|woff|woff2|xls|xlsx|xml)$ {
        try_files $uri $uri/ /index.php?$args;
        expires 10d;
    }

    location @fallback {
        fastcgi_pass unix:/var/run/japanstyleauto.ru.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include /etc/nginx/fastcgi_params;
    }

    include "/etc/nginx/fastpanel2-sites/japanstyleauto.ru/japanstyleauto.ru.includes";
    include /etc/nginx/fastpanel2-includes/*.conf;


    error_log /var/www/japanstyleauto.ru/data/logs/japanstyleauto.ru-frontend.error.log;
    access_log /var/www/japanstyleauto.ru/data/logs/japanstyleauto.ru-frontend.access.log;
}