{"id":20980366,"url":"https://github.com/skpr/image-nginx","last_synced_at":"2025-10-05T19:55:49.914Z","repository":{"id":40359275,"uuid":"460279002","full_name":"skpr/image-nginx","owner":"skpr","description":"Skpr base image container suite","archived":false,"fork":false,"pushed_at":"2025-09-29T11:01:23.000Z","size":150,"stargazers_count":0,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-29T12:25:23.262Z","etag":null,"topics":["docker-image"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/skpr.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":"2022-02-17T04:19:52.000Z","updated_at":"2025-07-30T08:38:58.000Z","dependencies_parsed_at":"2024-01-22T04:22:33.056Z","dependency_job_id":"efb0c4aa-8c34-4c64-a411-eb2609eb8c75","html_url":"https://github.com/skpr/image-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skpr/image-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skpr%2Fimage-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skpr%2Fimage-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skpr%2Fimage-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skpr%2Fimage-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skpr","download_url":"https://codeload.github.com/skpr/image-nginx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skpr%2Fimage-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278510918,"owners_count":25998997,"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-05T02:00:06.059Z","response_time":54,"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-image"],"created_at":"2024-11-19T05:28:01.882Z","updated_at":"2025-10-05T19:55:49.908Z","avatar_url":"https://github.com/skpr.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Skpr Nginx Images\n\nImages for applications which require Nginx (Drupal, PHP etc).\n\n## Documentation\n\n* [Static Status Codes](/docs/static_status_codes.md)\n* [robots.txt](/docs/robots.md)\n* [Error Pages](/docs/error_pages.md)\n\n## Streams\n\nThis image suite provides 2 streams for images:\n\n* `stable` - Our production/stable upstream for projects. Use this by default.\n* `latest` - Recently merged changes which will be merged into `stable` as part of a release.\n\n## Images\n\nImages are available in the following registries:\n\n* `ghcr.io`\n* `docker.io`\n\n## Image List\n\nBelow is the list of PHP images we provide.\n\nBy default we recommend the following registry and stream:\n\n```\nREGISTRY=docker.io\nSTREAM=stable\n```\n\n```\nREGISTRY/skpr/nginx:v2-STREAM\nREGISTRY/skpr/nginx-php-fpm:v2-STREAM\nREGISTRY/skpr/nginx-php-fpm:dev-v2-STREAM\nREGISTRY/skpr/nginx-drupal:v2-STREAM\nREGISTRY/skpr/nginx-drupal:dev-v2-STREAM\n```\n\n## Configuration Directory Structure.\n\nNginx config is broken down into sub-directories to allow custom additions and overrides.\n\nThe base directory structure is as follows:\n```\nconf.d/\n├── header\n│   ├── feature.conf\n│   ├── hsts.conf\n│   ├── referrer.conf\n│   ├── server.conf\n│   └── xss.conf\n└── location\n    ├── 00-well_known.conf\n    ├── 10-block.conf\n    ├── 10-favicon.conf\n    ├── 10-readyz.conf\n    ├── 10-robots.conf\n    ├── 10-styleguide.conf\n    └── 50-assets.conf\n```\n\nThe PHP-FPM configuration is layered on top of this as follows:\n\n```\nconf.d/\n├── fastcgi\n│   ├── errors.conf\n│   ├── params.conf\n│   ├── pass.conf\n│   └── timeout.conf\n└── location\n    ├── 20-fastcgi.conf\n    └── 20-php.conf\n```\n\nAnd finally the Drupal-specific configuration is layered on top of this:\n\n```\nconf.d/\n├── header\n│   ├── x_drupal_cache.conf\n│   ├── x_drupal_dynamic_cache.conf\n│   └── x_generator.conf\n└── location\n    └── 20-drupal.conf\n```\n\n## Adding Custom Configuration\n\nFor example, if you wanted to add your own custom header configuration, create it using the standard\ndirectory structure.\n\n```\nconf.d/\n└── header\n    └── custom.conf\n```\n\nand then copy it over in your Dockerfile:\n\n```\nFROM skpr/nginx-drupal:v2-latest\nCOPY conf.d /etc/nginx/conf.d\n```\n\nThis adds any custom configuration in `conf.d/` to the correct location in the Nginx image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskpr%2Fimage-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskpr%2Fimage-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskpr%2Fimage-nginx/lists"}