{"id":15839627,"url":"https://github.com/afeiship/bad-gateway-pages","last_synced_at":"2026-05-18T10:09:29.141Z","repository":{"id":57122610,"uuid":"312741033","full_name":"afeiship/bad-gateway-pages","owner":"afeiship","description":"Custom Bad Gateway Pages.","archived":false,"fork":false,"pushed_at":"2020-11-25T02:07:04.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-18T23:49:16.146Z","etag":null,"topics":["404","500","502","apache","bad","empty","error","gateway","nginx","page","php","static"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-14T03:56:20.000Z","updated_at":"2021-07-17T00:45:11.000Z","dependencies_parsed_at":"2022-08-24T14:59:30.510Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/bad-gateway-pages","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/bad-gateway-pages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fbad-gateway-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fbad-gateway-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fbad-gateway-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fbad-gateway-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/bad-gateway-pages/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fbad-gateway-pages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["404","500","502","apache","bad","empty","error","gateway","nginx","page","php","static"],"created_at":"2024-10-05T16:20:45.007Z","updated_at":"2026-05-18T10:09:29.125Z","avatar_url":"https://github.com/afeiship.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bad-gateway-pages\n\u003e Custom Bad Gateway Pages.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n\n## installation\n```shell\nnpm install -S @jswork/bad-gateway-pages\n```\n\n## usage\n```conf\n#site-wide error pages\nserver {\n  listen 80 default_server;\n  listen [::]:80 default_server ipv6only=on;\n\n  set $bad_gataway_pages \"/YOUR_PATH/node_modules/@jswork/bad-gataway-pages/dist\";\n\n  error_page 404 /404.html;\n  location = /404.html {\n    root $bad_gataway_pages;\n    internal;\n  }\n\n  error_page 410 /410.html;\n  location = /410.html {\n    root $bad_gataway_pages;\n    internal;\n  }\n\n  error_page 500 502 503 504 /502.html;\n  location = /502.html {\n    root $bad_gataway_pages;\n    internal;\n  }\n}\n```\n\n## resources\n- https://stackoverflow.com/questions/7796237/custom-bad-gateway-page-with-nginx\n- https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-to-use-custom-error-pages-on-ubuntu-14-04\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/bad-gateway-pages/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/bad-gateway-pages\n[version-url]: https://npmjs.org/package/@jswork/bad-gateway-pages\n\n[license-image]: https://img.shields.io/npm/l/@jswork/bad-gateway-pages\n[license-url]: https://github.com/afeiship/bad-gateway-pages/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/bad-gateway-pages\n[size-url]: https://github.com/afeiship/bad-gateway-pages/blob/master/dist/bad-gateway-pages.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/bad-gateway-pages\n[download-url]: https://www.npmjs.com/package/@jswork/bad-gateway-pages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fbad-gateway-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fbad-gateway-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fbad-gateway-pages/lists"}