Добрый вечер, не могу увеличить Time-out Nginx, максимально отрабатывает 60 сек.
Конфиг файл:
Конфиг
server {
server_name site.ru www.site.ru ;
listen 11.111.111.11:443 ssl http2 ;
ssl_certificate "/var/www/httpd-cert/site.ru_2023-06-21-06-02_16.crt";
ssl_certificate_key "/var/www/httpd-cert/site.ru_2023-06-21-06-02_16.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 7;
set $root_path /var/www/site_r_usr/data/www/site.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;
expires 365d;
}
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/site_r_usr/site.ru.includes";
include /etc/nginx/fastpanel2-includes/*.conf;
error_log /var/www/site_r_usr/data/logs/site.ru-frontend.error.log;
access_log /var/www/site_r_usr/data/logs/site.ru-frontend.access.log;
}
server {
server_name site.ru www.site.ru ;
listen 11.111.111.11:80;
return 301 https://$host$request_uri;
error_log /var/www/site_r_usr/data/logs/site.ru-frontend.error.log;
access_log /var/www/site_r_usr/data/logs/site.ru-frontend.access.log;
}
Прописываю в него
keepalive_timeout 1600;
В блок server
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
send_timeout 3600;
Никакой реакции на изменения. В чем проблема?
Спасибо.