{"id":27643262,"url":"https://github.com/andy9775/docker-nginx-node","last_synced_at":"2026-01-21T07:26:08.533Z","repository":{"id":283909532,"uuid":"85885544","full_name":"andy9775/docker-nginx-node","owner":"andy9775","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-22T23:45:25.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T00:11:58.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nginx","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/andy9775.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":"2017-03-22T23:18:36.000Z","updated_at":"2017-03-22T23:44:24.000Z","dependencies_parsed_at":"2025-03-27T23:45:26.711Z","dependency_job_id":null,"html_url":"https://github.com/andy9775/docker-nginx-node","commit_stats":null,"previous_names":["andy9775/docker-nginx-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andy9775/docker-nginx-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy9775%2Fdocker-nginx-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy9775%2Fdocker-nginx-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy9775%2Fdocker-nginx-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy9775%2Fdocker-nginx-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andy9775","download_url":"https://codeload.github.com/andy9775/docker-nginx-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy9775%2Fdocker-nginx-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"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":"2025-04-24T00:11:38.543Z","updated_at":"2026-01-21T07:26:08.509Z","avatar_url":"https://github.com/andy9775.png","language":"Nginx","funding_links":[],"categories":[],"sub_categories":[],"readme":"docker-nginx\n============\n\nA high-performance Nginx base image for Docker to serve static websites. It will serve anything in the `/var/www` directory which includes npm and node to build project files.\n\nTo build a Docker image for your site, you'll need to create a `Dockerfile`. For example, if your site is in a directory called `src/`, you could create this `Dockerfile`:\n\n    FROM kyma/docker-nginx\n    COPY src/ /var/www\n    CMD 'nginx'\n\nThen build and run it:\n\n    $ docker build -t mysite .\n    ...\n    Successfully built 5ae2fb5cf4f8\n    $ docker run -p 80:80 -d mysite\n    da809981545f\n    $ curl localhost\n    ...\n\nDocker Hub\n----------\nThe trusted build information can be found on the Docker Hub at https://registry.hub.docker.com/u/kyma/docker-nginx/.\n\nSSL\n---\n\nTo use SSL, put your certs in `/etc/nginx/ssl` and enable the `default-ssl` site:\n\n    ADD server.crt /etc/nginx/ssl/\n    ADD server.key /etc/nginx/ssl/\n    RUN ln -s /etc/nginx/sites-available/default-ssl /etc/nginx/sites-enabled/default-ssl\n\nWhen you run it, you'll want to make port 443 available, e.g.:\n\n    $ docker run -p 80:80 -p 443:443 -d mysite\n\n\nnginx.conf\n---------\n\nThe nginx.conf and mime.types are pulled with slight modifications from\nthe h5bp Nginx HTTP server boilerplate configs project at\nhttps://github.com/h5bp/server-configs-nginx\n\nCustomized configs\n------------------\n\nTo modify the NGINX config, you would just create a custom Dockerfile like the following\nwhere you copy in your modified config files.\n\n```dockerfile\n# Guide here:\n# https://github.com/KyleAMathews/docker-nginx\n\n# Build docker file\n# docker build -t CONTAINERNAME .\n\n# Build from this repo's image\nFROM kyma/docker-nginx\n\n# Example if you wanna swap the default server file.\nCOPY path/to/your/default /etc/nginx/sites-enabled/default\n\n# Add src.\nCOPY src/ /var/www\n\nCMD 'nginx'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy9775%2Fdocker-nginx-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandy9775%2Fdocker-nginx-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy9775%2Fdocker-nginx-node/lists"}