{"id":26348486,"url":"https://github.com/codeforafrica/downrightnow","last_synced_at":"2026-01-04T04:02:00.550Z","repository":{"id":32536106,"uuid":"36117930","full_name":"CodeForAfrica/DownRightNow","owner":"CodeForAfrica","description":"A simple web page used internally at CfAfrica to redirect to or use domain masking with when doing maintenance. Hosted on Github Pages. Accessible at https://codeforafrica.github.io/DownRightNow","archived":false,"fork":false,"pushed_at":"2018-03-25T13:03:07.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2025-03-04T08:02:12.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codeforafrica.github.io/DownRightNow","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/CodeForAfrica.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}},"created_at":"2015-05-23T10:19:02.000Z","updated_at":"2018-03-25T13:03:08.000Z","dependencies_parsed_at":"2022-07-18T17:17:22.378Z","dependency_job_id":null,"html_url":"https://github.com/CodeForAfrica/DownRightNow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForAfrica%2FDownRightNow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForAfrica%2FDownRightNow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForAfrica%2FDownRightNow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForAfrica%2FDownRightNow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeForAfrica","download_url":"https://codeload.github.com/CodeForAfrica/DownRightNow/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841191,"owners_count":20356446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-03-16T08:14:59.275Z","updated_at":"2026-01-04T04:01:55.513Z","avatar_url":"https://github.com/CodeForAfrica.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DownRightNow\nSimple github-page to redirect to when doing maintenance.\n\n### Nginx Configuration\n\n```nginx\nserver {\n    listen 80 default_server;\n    listen [::]:80 default_server;\n    \n    server_name example.com;\n\n    location '/.well-known/acme-challenge' {\n        default_type \"text/plain\";\n        root /tmp/letsencrypt-auto;\n    }\n    location / {\n        add_header Strict-Transport-Security max-age=15768000;\n        return 301 https://$host$request_uri;\n    }\n\n    # Redirect non-https traffic to https\n    # if ($scheme != \"https\") {\n    #     return 301 https://$host$request_uri;\n    # } # managed by Certbot\n   \n}\n\nserver {\n    listen 443 ssl;\n    server_name example.com;\n    ssl on;\n    ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; # managed by Certbot\n    ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; # managed by Certbot\n    client_max_body_size 100M;\n    location / {\n        proxy_pass https://codeforafrica.github.io/DownRightNow/;\n        resolver 8.8.8.8;\n        proxy_set_header Accept-Encoding \"\";\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    }\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforafrica%2Fdownrightnow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforafrica%2Fdownrightnow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforafrica%2Fdownrightnow/lists"}