{"id":19853857,"url":"https://github.com/magnetikonline/docker-nginx","last_synced_at":"2026-04-12T14:51:23.189Z","repository":{"id":28427411,"uuid":"31942303","full_name":"magnetikonline/docker-nginx","owner":"magnetikonline","description":"Nginx web server Docker image, compiled from release source. ","archived":false,"fork":false,"pushed_at":"2024-05-25T06:04:23.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-11T13:45:40.970Z","etag":null,"topics":["docker","docker-image","docker-multi-stage-build","nginx"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/magnetikonline/nginx/","language":"Shell","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/magnetikonline.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-03-10T06:41:09.000Z","updated_at":"2024-05-25T06:04:26.000Z","dependencies_parsed_at":"2025-01-11T13:40:51.826Z","dependency_job_id":"84dc8975-9955-4843-80d0-28ef06a31067","html_url":"https://github.com/magnetikonline/docker-nginx","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fdocker-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fdocker-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fdocker-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fdocker-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnetikonline","download_url":"https://codeload.github.com/magnetikonline/docker-nginx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241243715,"owners_count":19933181,"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","docker-image","docker-multi-stage-build","nginx"],"created_at":"2024-11-12T14:07:51.162Z","updated_at":"2025-12-31T01:09:26.530Z","avatar_url":"https://github.com/magnetikonline.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Nginx\n\n`Dockerfile` using Ubuntu 18.04 as base which provides:\n- [Nginx 1.20.2](https://nginx.org/en/CHANGES-1.20) (compiled from source).\n- Nginx configuration passed in from host file system.\n- Logging within container at `/var/log/nginx` (optionally passed to host).\n- Document root from host file system mounted within container at `/srv/http`.\n- Ports `80` (HTTP) and `443` (HTTPS) exposed at `8080` and `8443` respectively.\n\n## Usage\n\nTo build Docker image:\n\n```sh\n$ ./build.sh\n```\n\nAlternatively pull the image direct from Docker Hub:\n\n```sh\n$ docker pull magnetikonline/nginx\n```\n\nThen to run:\n\n```sh\n$ ./run.sh \\\n  -c /path/to/nginx.conf \\\n  -d /path/to/docroot\n```\n\nOr to additionally pass Nginx logs back to host:\n\n```sh\n$ ./run.sh \\\n  -c /path/to/nginx.conf \\\n  -d /path/to/docroot \\\n  -l /path/to/logs\n```\n\nAn Nginx configuration example located under [`resource/conf`](resource/conf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetikonline%2Fdocker-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnetikonline%2Fdocker-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetikonline%2Fdocker-nginx/lists"}