Fix Equal comparison

This commit is contained in:
Manuel de Brito Fontes 2017-08-23 17:52:17 -03:00
parent e4b5250f46
commit 210ddb797a
2 changed files with 3 additions and 3 deletions

View file

@ -398,12 +398,12 @@ http {
location / {
{{ if .CustomErrors }}
include /etc/nginx/fastcgi_params;
fastcgi_param HTTP_X_Code 503;
fastcgi_param HTTP_X_Code 404;
fastcgi_param HTTP_X_Format $http_accept;
fastcgi_param HTTP_X_Endpoints {{ .DefaultBackendEndpoints }};
fastcgi_pass unix:/var/run/go-fastcgi.sock;
{{ else }}
return 503;
return 404;
{{ end }}
}
}