{"id":15487556,"url":"https://github.com/virtubox/nginx-cloudflare-real-ip","last_synced_at":"2025-04-22T17:41:45.607Z","repository":{"id":132823783,"uuid":"148380198","full_name":"VirtuBox/nginx-cloudflare-real-ip","owner":"VirtuBox","description":"Bash script to restore visitor real IP under Cloudflare with Nginx","archived":false,"fork":false,"pushed_at":"2019-07-29T07:03:15.000Z","size":8,"stargazers_count":13,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T07:53:26.735Z","etag":null,"topics":["bash-script","cloudflare","http-realip","nginx","ufw-firewall"],"latest_commit_sha":null,"homepage":"https://virtubox.github.io/nginx-cloudflare-real-ip/","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/VirtuBox.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":"2018-09-11T21:05:11.000Z","updated_at":"2024-07-07T19:14:42.000Z","dependencies_parsed_at":"2023-07-04T18:01:04.004Z","dependency_job_id":null,"html_url":"https://github.com/VirtuBox/nginx-cloudflare-real-ip","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/VirtuBox%2Fnginx-cloudflare-real-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuBox%2Fnginx-cloudflare-real-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuBox%2Fnginx-cloudflare-real-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuBox%2Fnginx-cloudflare-real-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VirtuBox","download_url":"https://codeload.github.com/VirtuBox/nginx-cloudflare-real-ip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250289030,"owners_count":21405899,"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":["bash-script","cloudflare","http-realip","nginx","ufw-firewall"],"created_at":"2024-10-02T06:40:52.694Z","updated_at":"2025-04-22T17:41:45.583Z","avatar_url":"https://github.com/VirtuBox.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nginx-cloudflare-real-ip\n\nConfigure Nginx to restore Visitors real IP under Cloudflare CDN\n\n## Features\n\n* Get Cloudflare IPv4 + IPv6 list and create nginx configuration to restore visitors real IP in `/etc/nginx/conf.d/cloudflare.conf`\n* Whitelist Cloudflare IPs on port 80 \u0026 443 with UFW (optional)\n\n## Requirements\n\n* Nginx built with http_realip_module\n\nYou can check if http_realip_module available with :\n\n```bash\nnginx -V 2\u003e\u00261 | grep with-http_realip_module\n```\n\nIf the previous command return nothing, http_realip_module isn't available\n\n---\n\n## Usage\n\nNginx configuration only\n\n```bash\nbash \u003c(wget -O - vtb.cx/nginx-cloudflare || curl -sL vtb.cx/nginx-cloudflare)\n```\n\nNginx configuration + UFW configuration\n\n```bash\nbash \u003c(wget -O - vtb.cx/nginx-cloudflare || curl -sL vtb.cx/nginx-cloudflare) --ufw\n```\n\nPublished \u0026 maintained by [VirtuBox](https://virtubox.net)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtubox%2Fnginx-cloudflare-real-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtubox%2Fnginx-cloudflare-real-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtubox%2Fnginx-cloudflare-real-ip/lists"}