{"id":19635886,"url":"https://github.com/tozd/docker-nginx","last_synced_at":"2025-10-31T00:48:58.839Z","repository":{"id":24683066,"uuid":"28094033","full_name":"tozd/docker-nginx","owner":"tozd","description":"Dockerized nginx. Read-only mirror of https://gitlab.com/tozd/docker/nginx","archived":false,"fork":false,"pushed_at":"2025-08-31T22:27:10.000Z","size":51,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-01T00:30:49.261Z","etag":null,"topics":["docker","docker-image","nginx"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":false,"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/tozd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["plast8","mitar"]}},"created_at":"2014-12-16T15:51:23.000Z","updated_at":"2025-08-31T22:27:14.000Z","dependencies_parsed_at":"2024-11-11T12:31:26.635Z","dependency_job_id":"0160e741-99f0-4467-979c-0129467add96","html_url":"https://github.com/tozd/docker-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tozd/docker-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tozd%2Fdocker-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tozd%2Fdocker-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tozd%2Fdocker-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tozd%2Fdocker-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tozd","download_url":"https://codeload.github.com/tozd/docker-nginx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tozd%2Fdocker-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281908614,"owners_count":26582147,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"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-image","nginx"],"created_at":"2024-11-11T12:27:24.550Z","updated_at":"2025-10-31T00:48:58.834Z","avatar_url":"https://github.com/tozd.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/plast8","https://github.com/sponsors/mitar"],"categories":[],"sub_categories":[],"readme":"# tozd/nginx\n\n\u003chttps://gitlab.com/tozd/docker/nginx\u003e\n\nAvailable as:\n\n- [`tozd/nginx`](https://hub.docker.com/r/tozd/nginx)\n- [`registry.gitlab.com/tozd/docker/nginx`](https://gitlab.com/tozd/docker/nginx/container_registry)\n\n## Image inheritance\n\n[`tozd/base`](https://gitlab.com/tozd/docker/base) ← [`tozd/dinit`](https://gitlab.com/tozd/docker/dinit) ← `tozd/nginx`\n\n## Tags\n\n- `ubuntu-trusty`: nginx 1.4.6\n- `ubuntu-xenial`: nginx 1.10.3\n- `ubuntu-bionic`: nginx 1.14.0\n- `ubuntu-focal`: nginx 1.18.0\n- `ubuntu-jammy`: nginx 1.18.0\n- `ubuntu-noble`: nginx 1.24.0\n\n## Volumes\n\n- `/var/log/nginx`: Log files when `LOG_TO_STDOUT` is not set to `1`.\n- `/etc/nginx/sites-volume`: Nginx configuration for sites served by the container.\n\n## Variables\n\n- `SET_REAL_IP_FROM`: Configures [`set_real_ip_from`](https://nginx.org/en/docs/http/ngx_http_realip_module.html#set_real_ip_from)\n  which defines trusted addresses that are known to send correct replacement addresses. If the container is run behind a reverse\n  HTTP proxy, you can set this environment variable to configure proxy's IP address for Nginx to correctly resolve and log\n  clients' IP addresses.\n- `LOG_TO_STDOUT`: If set to `1` output logs to stdout (retrievable using `docker logs`) instead of log volumes.\n\n## Ports\n\n- `80/tcp`: HTTP port on which Nginx listens.\n\n## Description\n\nImage providing [Nginx](http://nginx.org) HTTP server.\n\nThe intended use of this image is that it is extended for images which serve content over the HTTP.\n\nAccess logs are formatted as JSON.\nYou can use defined `json` log format to format additional access logs as JSON as well.\nWhen `LOG_TO_STDOUT` is set to `1`, Docker image logs output to stdout and stderr. All stdout output is JSON.\n\nWhen extending the image, you can put sites configuration files under `/etc/nginx/sites-enabled/` to add custom sites.\n\nAlternatively, you can mount a volume into `/etc/nginx/sites-volume/` directory and provide sites there.\n\nWhen you are extending this image, you can add a script `/etc/service/nginx/run.initialization`\nwhich will be run at a container startup, after the container is initialized, but before the\nNginx daemon is run.\n\n## GitHub mirror\n\nThere is also a [read-only GitHub mirror available](https://github.com/tozd/docker-nginx),\nif you need to fork the project there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftozd%2Fdocker-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftozd%2Fdocker-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftozd%2Fdocker-nginx/lists"}