{"id":16813214,"url":"https://github.com/ivanvc/docker-ruby-nginx","last_synced_at":"2026-01-03T13:51:22.462Z","repository":{"id":66900197,"uuid":"53542879","full_name":"ivanvc/docker-ruby-nginx","owner":"ivanvc","description":"Docker image of nginx with Ruby","archived":false,"fork":false,"pushed_at":"2016-12-21T00:58:28.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T20:53:00.526Z","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/ivanvc.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-03-10T00:45:17.000Z","updated_at":"2016-03-10T00:46:35.000Z","dependencies_parsed_at":"2023-05-19T12:45:32.263Z","dependency_job_id":null,"html_url":"https://github.com/ivanvc/docker-ruby-nginx","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/ivanvc%2Fdocker-ruby-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fdocker-ruby-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fdocker-ruby-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fdocker-ruby-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanvc","download_url":"https://codeload.github.com/ivanvc/docker-ruby-nginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022637,"owners_count":20385133,"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-13T10:25:25.382Z","updated_at":"2026-01-03T13:51:22.414Z","avatar_url":"https://github.com/ivanvc.png","language":"Nginx","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby + Nginx\n\nThis Docker image contains the basics to run a Ruby app with nginx.\nRunning the app is delegated to supervisord, so it just requires\na small configuration file in /etc/supervisord/conf.d, like the\nfollowing one:\n\n```\n[program:nginx]\ncommand=/usr/sbin/nginx\n\n[program:app]\ncommand=/home/app/myappinit.sh\nstdout_logfile=/dev/stdout\nstdout_logfile_maxbytes=0\nstderr_logfile=/dev/stderr\nstderr_logfile_maxbytes=0\n```\n\nAnd nginx configuration should be placed in /etc/nginx/conf.d,\nwhich is included in the http directive, the following is an\nexample of it:\n\n```\nupstream app {\n  server unix:/home/app/current/tmp/app.sock fail_timeout=0;\n}\n\nserver {\n  listen      80;\n  server_name _;\n\n  root /home/app/current/public;\n\n  error_page 500 502 503 504 /500.html;\n  location = /500.html {\n    root /home/app/current/public;\n  }\n\n  try_files $uri @app;\n  location @app {\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header Host $http_host;\n    proxy_redirect off;\n    proxy_pass http://app;\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanvc%2Fdocker-ruby-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanvc%2Fdocker-ruby-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanvc%2Fdocker-ruby-nginx/lists"}