Created
September 22, 2021 02:14
-
-
Save reyvhernandez/f9743c3938d6ad540be9810aa48cb0a7 to your computer and use it in GitHub Desktop.
Valet NGINX error: 504 Gateway Time-out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Solving this issue is easy: just open the file /usr/local/etc/nginx/valet/valet.conf and add the following lines to the block location ~ \.php$ { } | |
proxy_connect_timeout 600; | |
proxy_send_timeout 600; | |
proxy_read_timeout 600; | |
send_timeout 600; | |
fastcgi_read_timeout 300; | |
fastcgi_buffers 8 128k; | |
fastcgi_buffer_size 256k; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment