{"id":18485270,"url":"https://github.com/softinstigate/nginx-restheart","last_synced_at":"2026-04-17T08:01:59.666Z","repository":{"id":87382233,"uuid":"197212908","full_name":"SoftInstigate/nginx-restheart","owner":"SoftInstigate","description":"Example of NGINX as a SSL frontend for RESTHeart.","archived":false,"fork":false,"pushed_at":"2022-08-03T16:04:50.000Z","size":18,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T00:04:33.177Z","etag":null,"topics":["docker","docker-compose","http","https","https-proxy","nginx","restheart","ssl","ssl-frontend"],"latest_commit_sha":null,"homepage":"","language":null,"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/SoftInstigate.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}},"created_at":"2019-07-16T14:45:57.000Z","updated_at":"2022-08-03T16:05:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd0c0965-a869-43ea-85b5-57edb2a2424f","html_url":"https://github.com/SoftInstigate/nginx-restheart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SoftInstigate/nginx-restheart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftInstigate%2Fnginx-restheart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftInstigate%2Fnginx-restheart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftInstigate%2Fnginx-restheart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftInstigate%2Fnginx-restheart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftInstigate","download_url":"https://codeload.github.com/SoftInstigate/nginx-restheart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftInstigate%2Fnginx-restheart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["docker","docker-compose","http","https","https-proxy","nginx","restheart","ssl","ssl-frontend"],"created_at":"2024-11-06T12:44:41.603Z","updated_at":"2026-04-17T08:01:59.614Z","avatar_url":"https://github.com/SoftInstigate.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTHeart and NGINX with SSL\n\nThis repository shows an example of NGINX as a SSL frontend for [RESTHeart](https://github.com/SoftInstigate/restheart/).\n\nIt uses Docker images to setup a complete stack made with NGINX, RESTHeart and MongoDB.\n\nNGINX acts as a HTTPS reverse proxy for RESTHeart and it uses a self-signed certificate for the SSL connection.\n\nTo create the stack:\n\n```bash\ndocker-compose up\n```\n\nTo test that it works with `curl`:\n\n```bash\ncurl --insecure https://localhost/ping\n\nGreetings from RESTHeart!\n```\n\nThe `--insecure` parameter is necessary because we are using a self-signed certificate.\n\nTo test that it works with `http`:\n\n```bash\nhttp --verify=no https://localhost/ping\n \nHTTP/1.1 200 OK\nAccess-Control-Allow-Credentials: true\nAccess-Control-Allow-Origin: *\nAccess-Control-Expose-Headers: Location, ETag, Auth-Token, Auth-Token-Valid-Until, Auth-Token-Location, X-Powered-By\nConnection: keep-alive\nContent-Encoding: gzip\nContent-Length: 45\nContent-Type: text/plain\nDate: Tue, 22 Jun 2021 09:06:02 GMT\nServer: nginx/1.21.0\nX-Powered-By: restheart.org\n\nGreetings from RESTHeart!\n```\n\nTo stop:\n\n```bash\ndocker-compose stop\n```\n\nTo clean-up:\n\n```bash\ndocker-compose down\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftinstigate%2Fnginx-restheart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftinstigate%2Fnginx-restheart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftinstigate%2Fnginx-restheart/lists"}