{"id":20670145,"url":"https://github.com/gitpod-io/nginx-example","last_synced_at":"2025-08-02T07:33:31.952Z","repository":{"id":93128223,"uuid":"183680377","full_name":"gitpod-io/nginx-example","owner":"gitpod-io","description":null,"archived":false,"fork":false,"pushed_at":"2019-04-28T18:26:08.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":20,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-10T16:43:10.064Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitpod-io.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":"2019-04-26T19:00:37.000Z","updated_at":"2023-05-28T10:20:06.000Z","dependencies_parsed_at":"2023-05-06T10:18:07.199Z","dependency_job_id":null,"html_url":"https://github.com/gitpod-io/nginx-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitpod-io/nginx-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fnginx-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fnginx-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fnginx-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fnginx-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpod-io","download_url":"https://codeload.github.com/gitpod-io/nginx-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fnginx-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268348656,"owners_count":24236298,"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-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2024-11-16T20:18:16.316Z","updated_at":"2025-08-02T07:33:31.923Z","avatar_url":"https://github.com/gitpod-io.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example: Run Nginx Web Server in Gitpod.io\n\nNginx is included in Gitpod's [workspace-full](https://hub.docker.com/r/gitpod/workspace-full) docker image.\nThis example shows how to interact with Nginx and how to configure Nginx. Configuration is optionl, since a default configuration is included in workspace-full.\n\n## Try or Contribute\n\nopen [https://gitpod.io#https://github.com/gitpod-io/nginx-example](https://gitpod.io#https://github.com/gitpod-io/nginx-example)\n\n## In this Example:\n\n1) optional: custom [nginx.conf](https://github.com/gitpod-io/nginx-example/blob/master/nginx/nginx.conf).\n2) optional: set www-root via NGINX_DOCROOT_IN_REPO via [Dockerfile](https://github.com/gitpod-io/nginx-example/blob/master/.gitpod.dockerfile) (you don't want a custom nginx.conf).\n3) follow the Nginx logs in the Gitpod Terminal View via multitail (see [.gitpod.yaml](https://github.com/gitpod-io/nginx-example/blob/master/.gitpod.yml)).\n\n## Terminal Commands to try\n* `nginx` - start Nginx (it's started automatically on workspace launch)\n* `nginx -s stop` - stop Nginx\n* `nginx -s reload` - reload Nginx config\n* `gp open /etc/nginx/nginx.conf` - Open nginx.conf in Gitpod editor\n* `gp open /var/log/nginx/access.log` - Open access.log in Gitpod editor\n* `gp open /var/log/nginx/error.log` - Open error.log in Gitpod editor\n* `multitail /var/log/nginx/access.log -I /var/log/nginx/error.log` - View and follow logs in Terminal\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-io%2Fnginx-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitpod-io%2Fnginx-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-io%2Fnginx-example/lists"}