{"id":19439739,"url":"https://github.com/vs0uz4/nginx-proxy_sample","last_synced_at":"2026-05-16T15:07:07.713Z","repository":{"id":67301025,"uuid":"97266030","full_name":"vs0uz4/nginx-proxy_sample","owner":"vs0uz4","description":"Sample Repository for Nginx Proxy","archived":false,"fork":false,"pushed_at":"2017-07-15T19:59:46.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T07:24:39.553Z","etag":null,"topics":["docker","docker-compose","nginx-proxy","virtualhosts"],"latest_commit_sha":null,"homepage":null,"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/vs0uz4.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-07-14T19:21:37.000Z","updated_at":"2017-07-15T19:34:53.000Z","dependencies_parsed_at":"2023-02-28T15:31:04.757Z","dependency_job_id":null,"html_url":"https://github.com/vs0uz4/nginx-proxy_sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vs0uz4/nginx-proxy_sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs0uz4%2Fnginx-proxy_sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs0uz4%2Fnginx-proxy_sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs0uz4%2Fnginx-proxy_sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs0uz4%2Fnginx-proxy_sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vs0uz4","download_url":"https://codeload.github.com/vs0uz4/nginx-proxy_sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs0uz4%2Fnginx-proxy_sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33107583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["docker","docker-compose","nginx-proxy","virtualhosts"],"created_at":"2024-11-10T15:26:33.477Z","updated_at":"2026-05-16T15:07:07.696Z","avatar_url":"https://github.com/vs0uz4.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nginx-proxy_sample\nSample Repository for Nginx Proxy (https://github.com/jwilder/nginx-proxy)\n\n# prepare for run\nAdd in the local hosts file the domains whoami.local and caddy.local pointing them to the address 127.0.0.1\n\nThe location of the hosts file will depend a lot on the operating system you are using. To illustrate, we will demonstrate the location of the file on two well-known and widely used operating systems, Windows and Linux.\n\n- In linux the file can be found in (/etc/hosts) and should at least have the following content:\n```\n#\n# /etc/hosts: static lookup table for host names\n#\n\n#\u003cip-address\u003e\t\u003chostname.domain.org\u003e\t\u003chostname\u003e\n127.0.0.1\tlocalhost.localdomain\tlocalhost\n::1\t\tlocalhost.localdomain\tlocalhost\n\n#host names for docker containers\n127.0.0.1   whoami.local\n127.0.0.1   caddy.local\n::1         whoami.local\n::1         caddy.local\n\n# End of file\n```\n\n- In Windows, it can be found in (C:\\Windows\\System32\\drivers\\etc\\hosts) and should at least have the following content:\n```\n# Copyright (c) 1993-2006 Microsoft Corp.\n#\n# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.\n#\n# This file contains the mappings of IP addresses to host names. Each\n# entry should be kept on an individual line. The IP address should\n# be placed in the first column followed by the corresponding host name.\n# The IP address and the host name should be separated by at least one\n# space.\n#\n# Additionally, comments (such as these) may be inserted on individual\n# lines or following the machine name denoted by a '#' symbol.\n#\n# For example:\n#\n#      102.54.94.97     rhino.acme.com          # source server\n#       38.25.63.10     x.acme.com              # x client host\n\n127.0.0.1       localhost\n::1             localhost \n\n# hostnames for docker containers applications\n127.0.0.1       whoami.local\n127.0.0.1       caddy.local\n::1             whoami.local\n::1             caddy.local\n```\n\n# run\ndocker-compose up\n\n# open in browser\nhttp://whoami.local or http://caddy.local\n\n** It should be noted that there are differences in the way docker containers run on Linux and Windows, so I was not able to find out if this code works 100% in the Windows environment, if it does not work, it probably will be because of that difference.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvs0uz4%2Fnginx-proxy_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvs0uz4%2Fnginx-proxy_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvs0uz4%2Fnginx-proxy_sample/lists"}