{"id":16358478,"url":"https://github.com/detiber/s2i-nginx-nodejs","last_synced_at":"2025-07-09T01:37:55.577Z","repository":{"id":145761501,"uuid":"66401449","full_name":"detiber/s2i-nginx-nodejs","owner":"detiber","description":null,"archived":false,"fork":false,"pushed_at":"2016-09-16T16:54:13.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T13:40:27.939Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/detiber.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}},"created_at":"2016-08-23T20:37:40.000Z","updated_at":"2017-02-11T04:51:04.000Z","dependencies_parsed_at":"2023-05-13T15:45:50.160Z","dependency_job_id":null,"html_url":"https://github.com/detiber/s2i-nginx-nodejs","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/detiber%2Fs2i-nginx-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detiber%2Fs2i-nginx-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detiber%2Fs2i-nginx-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detiber%2Fs2i-nginx-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/detiber","download_url":"https://codeload.github.com/detiber/s2i-nginx-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239708989,"owners_count":19684165,"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":[],"created_at":"2024-10-11T02:05:55.908Z","updated_at":"2025-02-19T18:12:18.197Z","avatar_url":"https://github.com/detiber.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Source-to-image builder for static nginx containers\n\n## Basic use case\n\nHave a git repo with a directory `html` (or `NGINX_STATIC_DIR`), in which all\nstatic files to serve are.\n\ns2i-nginx will take all files within, copy them into the docker image and take\na basic nginx config that will simply serve these files.\n\nIf there is no `html` directory, it will just copy all files in the repo.\nIn that case you will not be able to customize the nginx config.\n\n\n## Configuring nginx\n\nYou can supply a nginx.conf-snippet that will be used by the built container.\n\nIf there is a directory `conf.d` containing (possibly multiple) nginx `server`\nsnippets these will be used.  It will _not_ copy the default  config, so be\nsure to include the right files. See `etc/nginx.server.sample.conf` for the\ndefault config.\n\n\n## Auxiliary files\n\nYou can put auxiliary files in a directory `aux` (or `NGINX_AUX_DIR`) to copy\nthem to the resulting image, e.g. htpasswd files.\n\nThese will be copied to `/opt/app-root/etc/aux`.\n\n\n## Environment variables\n\nThere are some environment variables you can set to influence **build** behavior.\n\n`NGINX_STATIC_DIR` sets the repo subdir to use for static files, default\n`html`.\n\nEither `NGINX_CONF_FILE` sets a config snippet to use or `NGINX_CONF_DIR`\nwill copy config from this dir (defaults to `conf.d`).\n\n`NGINX_AUX_DIR` sets the aux directory for auxiliary files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetiber%2Fs2i-nginx-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdetiber%2Fs2i-nginx-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetiber%2Fs2i-nginx-nodejs/lists"}