{"id":20586404,"url":"https://github.com/piger/nginx-lab","last_synced_at":"2026-04-19T14:36:05.096Z","repository":{"id":38441957,"uuid":"479372397","full_name":"piger/nginx-lab","owner":"piger","description":"A virtual lab to test nginx configurations.","archived":false,"fork":false,"pushed_at":"2023-09-27T10:05:23.000Z","size":19,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T17:09:12.898Z","etag":null,"topics":["docker","nginx","reverse-proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","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/piger.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":"2022-04-08T11:58:30.000Z","updated_at":"2022-06-15T23:19:00.000Z","dependencies_parsed_at":"2024-11-16T08:18:01.155Z","dependency_job_id":null,"html_url":"https://github.com/piger/nginx-lab","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/piger%2Fnginx-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fnginx-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fnginx-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piger%2Fnginx-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piger","download_url":"https://codeload.github.com/piger/nginx-lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242214934,"owners_count":20090721,"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":["docker","nginx","reverse-proxy"],"created_at":"2024-11-16T07:11:26.206Z","updated_at":"2026-04-19T14:36:00.067Z","avatar_url":"https://github.com/piger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An nginx lab in Docker\n\nThis repository contains a virtual \"lab\" that can be used to experiment with Nginx; it sets up two reverse proxies\n(which can simulate having Cloudflare in front of your server) and a simple backend application.\n\n## Requirements\n\n- Docker\n- docker-compose\n\n## Usage\n\nRun `docker-compose up` to spin up the whole stack, then your main (outer) frontend can be accessed on `localhost:8080`\nand your secondary (inner) frontend on `localhost:9090`; the backend application is bound to the `/app` location on both\nproxies.\n\n### TLS support\n\nThe two proxies are configured with self-signed TLS certificates created at build time for the wildcard\ndomain `*.homelab.dev`.\n\nTo send an HTTPS request to the outer proxy with `curl`:\n\n```\n$ curl -k --resolve outer-proxy.homelab.dev:8443:127.0.0.1 https://outer-proxy.homelab.dev:8443\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiger%2Fnginx-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiger%2Fnginx-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiger%2Fnginx-lab/lists"}