cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 503 Backend unavailable with Fastly

SOLVED

Magento 503 Backend unavailable with Fastly

I have configured Fastly. 

website frontend is working really very good with fastly.

But whenever i save anything in admin I am getting 503 for magento backend.

 

Magento111.jpg

kindly help

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 503 Backend unavailable with Fastly

@mikesam202abc5 ,

you can create VCL snippets within fastly 

for admin, you need to create a snippet which increases the timeout for admin. 

if (bereq.url.path ~ "magentoadmin") {
   set bereq.first_byte_timeout = 8000s;
   set bereq.connect_timeout = 8000s;
   set bereq.between_bytes_timeout = 8000s;
}

here magentoadmin is URI for admin 

 

php bin/magento info:adminuri

View solution in original post

2 REPLIES 2

Re: Magento 503 Backend unavailable with Fastly

@mikesam202abc5 ,

you can create VCL snippets within fastly 

for admin, you need to create a snippet which increases the timeout for admin. 

if (bereq.url.path ~ "magentoadmin") {
   set bereq.first_byte_timeout = 8000s;
   set bereq.connect_timeout = 8000s;
   set bereq.between_bytes_timeout = 8000s;
}

here magentoadmin is URI for admin 

 

php bin/magento info:adminuri

Re: Magento 503 Backend unavailable with Fastly

@amitsamsukha,

thanks this works!