Skip to content

Commit

Permalink
Do not try to render HTTP errors if GraphQL responds with error code.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv committed Dec 22, 2023
1 parent e259e84 commit e862963
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configuration/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ http {
root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
#error_page 500 502 503 504 /50x.html;
#location = /50x.html {
# root html;
#}

location /graphql {
if ($request_method = OPTIONS ) {
Expand Down

0 comments on commit e862963

Please sign in to comment.