File: //var/lib/letsencrypt/backups/1654177088.87/autoprokat.vladweb.ru.conf_23
server {
server_name autoprokat.vladweb.ru www.autoprokat.vladweb.ru ;
listen 212.16.195.25:80;
charset windows-1251;
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 1;
set $root_path /var/www/vladweb.ru/data/www/autoprokat.vladweb.ru;
root $root_path;
disable_symlinks if_not_owner from=$root_path;
location / {
proxy_pass http://127.0.0.1:81;
proxy_redirect http://127.0.0.1:81/ /;
include /etc/nginx/proxy_params;
}
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/ @fallback;
}
location @fallback {
proxy_pass http://127.0.0.1:81;
proxy_redirect http://127.0.0.1:81/ /;
include /etc/nginx/proxy_params;
}
include "/etc/nginx/fastpanel2-sites/vladweb.ru/autoprokat.vladweb.ru.includes";
include /etc/nginx/fastpanel2-includes/*.conf;
error_log /var/www/vladweb.ru/data/logs/autoprokat.vladweb.ru-frontend.error.log;
access_log /var/www/vladweb.ru/data/logs/autoprokat.vladweb.ru-frontend.access.log;
}