Skip to content

Commit 7ee7d5a

Browse files
authored
Uncomment error_page
Uncomment error_page
1 parent 34b3640 commit 7ee7d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/etc/nginx/templates/default.conf.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ server {
110110
proxy_intercept_errors on;
111111

112112
# Comment out this line to receive the error messages returned by S3
113-
# error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 500 501 502 503 504 505 506 507 508 509 510 511 =404 @error404;
113+
error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 500 501 502 503 504 505 506 507 508 509 510 511 =404 @error404;
114114

115115
proxy_pass ${S3_SERVER_PROTO}://storage_urls$s3uri;
116116
}
@@ -158,7 +158,7 @@ server {
158158
proxy_intercept_errors on;
159159

160160
# Comment out this line to receive the error messages returned by S3
161-
# error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 500 501 502 503 504 505 506 507 508 509 510 511 =404 @error404;
161+
error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 500 501 502 503 504 505 506 507 508 509 510 511 =404 @error404;
162162

163163
proxy_pass ${S3_SERVER_PROTO}://storage_urls$s3Uri;
164164
}

0 commit comments

Comments
 (0)