{"id":18577056,"url":"https://github.com/brianlesko/reverse-proxy-nginx-docker","last_synced_at":"2026-06-28T07:32:14.382Z","repository":{"id":236109209,"uuid":"791932096","full_name":"BrianLesko/reverse-proxy-nginx-docker","owner":"BrianLesko","description":"Map any app running on localhost/PORT to localhost/app_name using this code","archived":false,"fork":false,"pushed_at":"2024-08-24T17:33:52.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T09:27:36.717Z","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/BrianLesko.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":"2024-04-25T16:42:49.000Z","updated_at":"2024-08-24T17:33:55.000Z","dependencies_parsed_at":"2024-04-25T17:49:40.475Z","dependency_job_id":"451155c3-48c5-4d81-8011-ea65bbcce1ca","html_url":"https://github.com/BrianLesko/reverse-proxy-nginx-docker","commit_stats":null,"previous_names":["brianlesko/reverse-proxy-nginx-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BrianLesko/reverse-proxy-nginx-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2Freverse-proxy-nginx-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2Freverse-proxy-nginx-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2Freverse-proxy-nginx-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2Freverse-proxy-nginx-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrianLesko","download_url":"https://codeload.github.com/BrianLesko/reverse-proxy-nginx-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2Freverse-proxy-nginx-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34881384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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-06T23:27:40.310Z","updated_at":"2026-06-28T07:32:14.352Z","avatar_url":"https://github.com/BrianLesko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Nginx Docker reverse proxy\n\n---\nI no longer reccomend using nginx. Caddy Server is the only reverse proxy and web tool I would reccomend for self hosting local or public web applications.\n\n---\n\nAccess your web application via http://server/name rather than http://server:PORT by running this code. The code here can be upgraded to allow https by getting a certificate.\n\nNginx is also great for serving http file servers.\n\nNginx is however more complex to setup than more modern options like Caddy server, which I have started using isntread of NGINX. \n\n\u0026nbsp;\n\n## Software Dependencies\n\nThis code uses the following dependencies:\n- `docker`\n\n\u0026nbsp;\n\n## Usage\n1. clone this repository\n```\ngit clone https://github.com/BrianLesko/reverse-proxy-nginx-docker\n```\n2. make sure your app is running at your IP:PORT\n3. edit the nginx.conf file and change the port and pick an appname\n```\nlocation /appname {\n            proxy_pass http://host.docker.internal:*8501*; \n            ...\n```\n4. run start.sh\n```\n./start.sh\n```\n5. Navigate to your application\nservername/appname\n\n\n\u0026nbsp;\n\n## About\nRunning your web apps with a reverse proxy is more user friendly, even necessary for production level deployment. I wrote this repository with 3 intented use cases. One, to use this code to deploy \na vacation planning app for management level employees at a local business. Two, to access multiple apps easier related to a mobile robot I built. And three, to deploy various automation service softwares. \n\n\u0026nbsp;\n\n\u003chr\u003e\n\n\u0026nbsp;\n\n\u003cdiv align=\"center\"\u003e\n\n\n\n╭━━╮╭━━━┳━━┳━━━┳━╮╱╭╮        ╭╮╱╱╭━━━┳━━━┳╮╭━┳━━━╮\n┃╭╮┃┃╭━╮┣┫┣┫╭━╮┃┃╰╮┃┃        ┃┃╱╱┃╭━━┫╭━╮┃┃┃╭┫╭━╮┃\n┃╰╯╰┫╰━╯┃┃┃┃┃╱┃┃╭╮╰╯┃        ┃┃╱╱┃╰━━┫╰━━┫╰╯╯┃┃╱┃┃\n┃╭━╮┃╭╮╭╯┃┃┃╰━╯┃┃╰╮┃┃        ┃┃╱╭┫╭━━┻━━╮┃╭╮┃┃┃╱┃┃\n┃╰━╯┃┃┃╰┳┫┣┫╭━╮┃┃╱┃┃┃        ┃╰━╯┃╰━━┫╰━╯┃┃┃╰┫╰━╯┃\n╰━━━┻╯╰━┻━━┻╯╱╰┻╯╱╰━╯        ╰━━━┻━━━┻━━━┻╯╰━┻━━━╯\n  \n\n\n\u0026nbsp;\n\n\n\u003ca href=\"https://twitter.com/BrianJosephLeko\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/BrianLesko/BrianLesko/f7be693250033b9d28c2224c9c1042bb6859bfe9/.socials/svg-white/x-logo-white.svg\" width=\"30\" alt=\"X Logo\"\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003ca href=\"https://github.com/BrianLesko\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/BrianLesko/BrianLesko/f7be693250033b9d28c2224c9c1042bb6859bfe9/.socials/svg-white/github-mark-white.svg\" width=\"30\" alt=\"GitHub\"\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003ca href=\"https://www.linkedin.com/in/brianlesko/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/BrianLesko/BrianLesko/f7be693250033b9d28c2224c9c1042bb6859bfe9/.socials/svg-white/linkedin-icon-white.svg\" width=\"30\" alt=\"LinkedIn\"\u003e\u003c/a\u003e\n\nfollow all of these for pizza :)\n\n\u003c/div\u003e\n\n\n\u0026nbsp;\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianlesko%2Freverse-proxy-nginx-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianlesko%2Freverse-proxy-nginx-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianlesko%2Freverse-proxy-nginx-docker/lists"}