{"id":19142849,"url":"https://github.com/angatar/nginx-fpm","last_synced_at":"2026-03-19T08:20:24.331Z","repository":{"id":37822528,"uuid":"430892747","full_name":"Angatar/nginx-fpm","owner":"Angatar","description":"A small nginx alpine image configured to serve fpm app","archived":false,"fork":false,"pushed_at":"2025-10-23T11:49:47.000Z","size":31,"stargazers_count":1,"open_issues_count":19,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T13:32:50.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/Angatar.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-22T23:09:31.000Z","updated_at":"2022-01-06T12:39:04.000Z","dependencies_parsed_at":"2023-11-27T16:28:47.591Z","dependency_job_id":"cce515b7-6966-4d36-b924-5a7633cf9f27","html_url":"https://github.com/Angatar/nginx-fpm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Angatar/nginx-fpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fnginx-fpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fnginx-fpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fnginx-fpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fnginx-fpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Angatar","download_url":"https://codeload.github.com/Angatar/nginx-fpm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fnginx-fpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29976272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-09T07:28:52.477Z","updated_at":"2026-03-01T17:03:37.449Z","avatar_url":"https://github.com/Angatar.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Docker Pulls](https://img.shields.io/docker/pulls/d3fk/nginx-fpm) ![Docker Cloud Automated build](https://img.shields.io/docker/cloud/automated/d3fk/nginx-fpm) ![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/d3fk/nginx-fpm) ![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/d3fk/nginx-fpm) ![Docker Stars](https://img.shields.io/docker/stars/d3fk/nginx-fpm) [![GitHub license](https://img.shields.io/github/license/Angatar/nginx-fpm)](https://github.com/Angatar/nginx-fpm/blob/master/LICENSE)\n# nginx-fpm (Angatar\u003e d3fk/nginx-fpm)\n\nSimply nginx:alpine configured to serve fpm applications.\n2 versions\n- 1 for FastCGI upstream applications in general (e.g. PHP-FPM)\n- 1 for FastCGI applications (e.g. PHP-FPM) that uses SSE technique \"Server Sent Event\"/\"event-stream\", or any other FastCGI app that requires the nginx cache and buffering options to be disabled.\n\n## Docker image\npre-build from Docker hub with \"automated build\" option.\n\nimage name **d3fk/nginx-fpm**\n\n`docker pull d3fk/nginx-fpm`\n\nDocker hub repository: https://hub.docker.com/r/d3fk/nginx-fpm/\n\n\n## Available tags\n- **d3fk/nginx-fpm:latest** this is the image with the basic configuration for fpm applications in general (upstream on port 9000, resolved with \"fpm-app\" as default name... see ENVIRONMENT section)\n- **d3fk/nginx-fpm:master** this image is simply another tag for **d3fk/nginx-fpm:latest**, they are identical images\n- **d3fk/nginx-fpm:sse** is the image version for any upstream FastCGI application that requires that the nginx cache and buffering options are disabled in the configuration (e.g. PHP-FPM applications that uses SSE technique \"Server Sent Event\"/\"event-stream\" ).\n\n## Basic usage\n\n```sh\ndocker run -p 80:80 d3fk/nginx-fpm\n```\nThis nginx container is configured to serve any upstream FastCGI content provided by an application(available on port 9000) on the same sub-network or linked (--link option); the upstream FastCGI application name should be resolved by using \"fpm-app\" for name by default (the name \"fpm-app\" of the FastCGI upstream app can be adapted with ENV vars ... see ENVIRONMENT section).\n\n## ENVIRONMENT\n- ```NGINX_HOST```: the server hostname, its default value is set to \"localhost\" but you can override it with your domain name on run.\n\n- ```NGINX_UPSTREAM_NAME```: the FastCGI upstream name that can be reached on port 9000. It can be the name of an fpm container on the same subnetwork (docker using its own DNS to resolve the name) or using the --link option (docker maintains /etc/hosts up to date on containers using the --link option) or even any \"url or ip\" of an fpm app that can be reached on port 9000 (it is recommended to not expose your fpm port to the world). The default value is set to \"fpm-app\" so that this container will by default try to reach any fpm app that resolves with the name \"fpm-app\" on port 9000.\n\n## More advanced usage and examples\n```sh\ndocker run -p 8080:80 --env NGINX_HOST=my-domain-name.io --env NGINX_UPSTREAM_NAME=php-fpm d3fk/nginx-fpm\n```\n\nYou can have an example of use of this container by visiting the page of a d3fk container image that proposes a \"fpm\" tag version, e.g.: [d3fk/asciinematic](https://hub.docker.com/r/d3fk/asciinematic/)\n\n\n## To be continued ...\n\nHandling of SSL certificates could easily be implemented.\n\n[![GitHub license](https://img.shields.io/github/license/Angatar/nginx-fpm)](https://github.com/Angatar/nginx-fpm/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangatar%2Fnginx-fpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangatar%2Fnginx-fpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangatar%2Fnginx-fpm/lists"}