NGINX + PHP_FPM + Bitrix24
Возникает ошибка 504 Gateway Time-out
Вот мой конфиг nginx для хоста.
server {
listen 8052;
server_name localhost;
root /home/rooter/WorkProject/Sites/my-site/www/;
index index.php;
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
}
if ($request_uri ~ ^(.*)/index.(html|php)) { return 301 $1/$is_args$args; }
set $i "index@";
location / { try_files /bitrix/html_pages/$host$uri$i${args}.html$usecache /bitrix/html_pages/$host$uri$i${args}=.html$usecache /bitrix/html_pages/$host$uri/$i${args}.html$usecache /bitrix/html_page>
location ~* @.*\.html$ { internal; }
}
Я уже timeout ставил 1800, нет ответа и всё.
Кто нибудь сталкивался с такой проблемой, и почему она может возникать?