Hey,
we see a "502 Server Error" status during CloudBuild processes changes for
our production website during the service is being updated.
It seems like the traffic is already routed to the new machine, while the
provisioning is still in progress.
We do use "nginx_conf_override" in our app.yaml to customize the default
nginx.conf like so:
# enforce https
if ($http_x_forwarded_proto = "http") {
return 301 https://$host$request_uri;
}
location ~ \.php$ {
try_files $uri /index.php$is_args$args;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass php-fpm;
fastcgi_buffer_size 16k;
fastcgi_buffers 256 16k;
fastcgi_busy_buffers_size 4064k;
fastcgi_max_temp_file_size 0;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_read_timeout 600s;
}
While running perfectly fine when service has finished the build, we would
like to avoid that "downtime" (up to 5 min) during the build. Any advice
from your side?
Thank you very much.
Best,
Titus
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/b5b55fdd-60ff-4ef0-af45-42085bb8406d%40googlegroups.com.