{"id":39498106,"url":"https://github.com/clarin-eric/error-maintenance-pages","last_synced_at":"2026-01-18T05:44:08.362Z","repository":{"id":144998995,"uuid":"155721571","full_name":"clarin-eric/error-maintenance-pages","owner":"clarin-eric","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-02T13:56:48.000Z","size":2363,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-10T03:14:52.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clarin-eric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-11-01T13:44:35.000Z","updated_at":"2018-11-01T16:30:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"146541dd-b736-4ce2-8fd2-2ed46919ce10","html_url":"https://github.com/clarin-eric/error-maintenance-pages","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/clarin-eric/error-maintenance-pages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Ferror-maintenance-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Ferror-maintenance-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Ferror-maintenance-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Ferror-maintenance-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarin-eric","download_url":"https://codeload.github.com/clarin-eric/error-maintenance-pages/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarin-eric%2Ferror-maintenance-pages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-01-18T05:44:08.282Z","updated_at":"2026-01-18T05:44:08.343Z","avatar_url":"https://github.com/clarin-eric.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLARIN error and maintenance pages\n\nGet a distribution file from the 'releases' page, or build them yourself by calling\n```sh\nsh ./build.sh\n```\n\n## Custom error pages\n\nConfigure your web server to serve the files in case of supported error response.\nFor example in nginx:\n\n```nginx\n\terror_page 403 /error/403.html;\n\terror_page 404 /error/404.html;\n\terror_page 500 501 502 504 /error/5xx.html;\n\terror_page 503 /error/maintenance.html;\n\n\tlocation ^~ /error/ {\n\t\tinternal;\n\t\talias /srv/error-maintenance-pages/dist/;\n\t}\n\t\n\tlocation ^~ /error_inc/style {\n\t\talias /srv/error-maintenance-pages/dist/style/;\n\t}\n```\n\n## Maintenance\n\nThe special `maintenance.html` page can be used to replace proxied content that is\nmade temporarily unavailable, for example during maintenance. It can be used in \ncombination with a 'semaphore' file that allows for quick enabling/disabling of \nmaintenance mode - a specific approach is described with examples in the blog post\n[\"How to configure Nginx so you can quickly put your website into maintenance mode\"](https://www.calazan.com/how-to-configure-nginx-so-you-can-quickly-put-your-website-into-maintenance-mode/).\n\nFor example, for the vlo.clarin.eu vhost configuration:\n```nginx\n\n    location / {\n        if (-f /srv/www_state/maintenance/vlo_on) {\n            return 503;\n        }\n\n        ...\n    }\n```\n\nMake the file `/srv/www_state/maintenance/vlo_on` available to put the application in\nmaintenance mode without having to make any changes to the configuration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarin-eric%2Ferror-maintenance-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarin-eric%2Ferror-maintenance-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarin-eric%2Ferror-maintenance-pages/lists"}