Files
SponsorBlockServer/nginx/error.conf
Michael C 164a9dab17 refactored nginx configs
- handle CORS within nginx
- remove allow-headers from CORS
- add custom dynamic error pages
- remove unused fastcgi
- removed OPTIONS backend
- remove previous custom errorDirective
- moved proxy directives to appropiate file
2022-01-06 18:42:48 -05:00

7 lines
261 B
Plaintext

error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 421 422 423 424 425 426 428 429 431 451 500 501 502 503 504 505 506 507 508 510 511 /error_message;
location = /error.html {
ssi on;
internal;
root /etc/nginx/error;
}