I installed opigno_lms 8.x-2.9, I created a training and want to publish it. When I click "Publish", the site try to load for 60 seconds and then get "Error 504: Gateway time-out". In nginx error log: "[error] upstream timed out (110: Connection timed out) while reading response header from upstream"
I modified php.ini
:
max_execution_time 3600 max_input_time = 3600
and added below to nginx conf file, server
context:
proxy_read_timeout 3600s; proxy_connect_timeout 3600s; proxy_send_timeout 3600s;
Also added below to druapl setting.php
:
ini_set('max_execution_time', 3600); ini_set('max_input_time', 3600);
But still the site try for 60 seconds and give same error. I think I’m missing a configuration somewhere that still effective and timeout the site connection in 60 seconds. Thanks to advice.
Site information:
- Drupal version: 8.9.20
- Installation profile: Opigno LMS (opigno_lms-8.x-2.29)
- PHP version: 7.4.29
- memory_limit = 512M
- Web server: nginx/1.18.0