mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
164a9dab17
- 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
15 lines
No EOL
349 B
Text
15 lines
No EOL
349 B
Text
map $status $status_text {
|
|
400 'Bad Request';
|
|
401 'Unauthorized';
|
|
403 'Forbidden';
|
|
404 'Not Found';
|
|
405 'Method Not Allowed';
|
|
408 'Request Timeout';
|
|
409 'Conflict';
|
|
429 'Too Many Requests';
|
|
500 'Internal Server Error';
|
|
502 'Bad Gateway';
|
|
503 'Service Unavailable';
|
|
504 'Gateway Timeout';
|
|
505 'HTTP Version Not Supported';
|
|
} |