{"id":46782702,"url":"https://github.com/clion007/docker-nginx","last_synced_at":"2026-03-10T00:35:56.330Z","repository":{"id":234840419,"uuid":"789599501","full_name":"clion007/docker-nginx","owner":"clion007","description":"This is a custom image built with Alpine linux, nginx and logrotate. All softwares are keeped latest version. The config files reside in /config for easy user customization.","archived":false,"fork":false,"pushed_at":"2026-03-09T12:47:35.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-09T17:38:40.180Z","etag":null,"topics":["docker","nginx"],"latest_commit_sha":null,"homepage":"https://clion007.github.io/docker-nginx/","language":"Shell","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/clion007.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-21T02:30:06.000Z","updated_at":"2026-03-09T12:47:31.000Z","dependencies_parsed_at":"2024-05-06T08:50:47.926Z","dependency_job_id":"de1f4a94-489a-41da-9d92-33cb057931f3","html_url":"https://github.com/clion007/docker-nginx","commit_stats":null,"previous_names":["clion007/docker-nginx"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/clion007/docker-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clion007%2Fdocker-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clion007%2Fdocker-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clion007%2Fdocker-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clion007%2Fdocker-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clion007","download_url":"https://codeload.github.com/clion007/docker-nginx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clion007%2Fdocker-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30318573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","nginx"],"created_at":"2026-03-10T00:35:55.721Z","updated_at":"2026-03-10T00:35:56.272Z","avatar_url":"https://github.com/clion007.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clion/nginx\nNginx is an webserver with php support and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev. \n\nThis is a custom image built with Alpine linux, nginx and logrotate. All softwares are keeped latest version. The config files reside in /config for easy user customization.This image will auto check and update when there is new version of nginx exist.\n\n## Application Setup\n* Add your web files to /config/www for hosting.\n* Modify the nginx and site config files under /config as needed\n* Protip: This container is best combined with a sql server, e.g. mariadb and a PHP\n\n## Modules installed\n* nginx-mod-http-brotli\n* nginx-mod-http-dav-ext\n* nginx-mod-http-echo\n* nginx-mod-http-fancyindex\n* nginx-mod-http-geoip\n* nginx-mod-http-geoip2\n* nginx-mod-http-headers-more\n* nginx-mod-http-image-filter\n* nginx-mod-http-perl\n* nginx-mod-http-redis2\n* nginx-mod-http-set-misc\n* nginx-mod-http-upload-progress\n* nginx-mod-http-xslt-filter\n* nginx-mod-mail\n* nginx-mod-rtmp\n* nginx-mod-stream\n* nginx-mod-stream-geoip\n* nginx-mod-stream-geoip2\n* nginx-vim\n\n## Usage\nTo help you get started creating a container from this image you can use the docker cli.\n\n### Docker cli\n```\ndocker run -d \\\n  --name='Nginx' \\\n  --net='bridge' \\\n  --ip='192.168.*.*' #optional \\\n  -e TZ=\"Asia/Shanghai\"\n  -e 'PUID'='1000'\n  -e 'PGID'='1000'\n  -e 'UMASK'='022'\n  -p 80:80 #optional \\\n  -p 443:443 #optional \\\n  -v '/path/to/nginx/config':'/config' \\\n  -v /etc/localtime:/etc/localtime:ro \\\n  --restart unless-stopped \\\n  registry.cn-chengdu.aliyuncs.com/clion/nginx\n```\n\n### Docker-compose\n```\nservices:\n  nginx:\n    image: registry.cn-chengdu.aliyuncs.com/clion/nginx\n    container_name: nginx\n    environment:\n      - PUID=99\n      - PGID=100\n      - UMASK=022\n    volumes:\n      - /path/to/nginx/config:/config\n      - /etc/localtime:/etc/localtime:ro\n    ports:\n      - 80:80\n      - 443:443\n    restart: unless-stopped\n```\n\n## Parameters\n* -p 80 http port\n* -p 443 https port\n* -e PUID=1000 for UserID\n* -e PGID=1000\tfor GroupID\n* -e TZ=Asia/Shanghai specify a timezone to use in your local area.\n* -v /config\tPersistent config files\n\n## Umask for running applications\nFor all of my images I provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add.\n\n## User / Group Identifiers\nWhen using volumes (-v flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.\n\nEnsure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclion007%2Fdocker-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclion007%2Fdocker-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclion007%2Fdocker-nginx/lists"}