Answer the question
In order to leave comments, you need to log in
How to set up static distribution for error page in nginx?
Set up:
error_page 503 /503.html;
location = /503.html {
root /var/www/domain/error/;
}
Answer the question
In order to leave comments, you need to log in
For example,
location ~* ^.+\.(css|js)$
{
root /var/www/domain/error/assets;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question