{"id":13758523,"url":"https://github.com/f5devcentral/f5-demo-httpd","last_synced_at":"2025-04-11T20:53:01.701Z","repository":{"id":53829942,"uuid":"89956928","full_name":"f5devcentral/f5-demo-httpd","owner":"f5devcentral","description":"Simple NGINX Demo App in a Container","archived":false,"fork":false,"pushed_at":"2023-08-12T08:19:55.000Z","size":381,"stargazers_count":22,"open_issues_count":1,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T16:55:33.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f5devcentral.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-05-01T19:45:35.000Z","updated_at":"2024-10-22T05:35:10.000Z","dependencies_parsed_at":"2024-08-03T13:01:35.503Z","dependency_job_id":"34405236-389f-4a01-bf83-49cf7f87ad00","html_url":"https://github.com/f5devcentral/f5-demo-httpd","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/f5devcentral%2Ff5-demo-httpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Ff5-demo-httpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Ff5-demo-httpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Ff5-demo-httpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f5devcentral","download_url":"https://codeload.github.com/f5devcentral/f5-demo-httpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480515,"owners_count":21110936,"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-08-03T13:00:31.733Z","updated_at":"2025-04-11T20:53:01.679Z","avatar_url":"https://github.com/f5devcentral.png","language":"JavaScript","funding_links":[],"categories":["Ops tools"],"sub_categories":[],"readme":"F5 Demo - NGINX Backend\n=======================\n\n### About\n\nSimple Docker NGINX backend container.  This was formerly based on Apache HTTPD, but updated to use NGINX. \n\nThis can be used for simple demos.\n\nThe Apache HTTPD configuration is left as reference.\n\nThis is [F5 Contributed Software](https://support.f5.com/csp/article/K80012344)\n\n[Docker Hub](https://hub.docker.com/r/f5devcentral/f5-demo-httpd/)\n\n### Requirements\n   Docker \n\n### Usage\n\n```\n# simple page\ndocker run -p 8080:80 f5devcentral/f5-demo-httpd:nginx\n# simple website\ndocker run --rm -e F5DEMO_APP=website f5devcentral/f5-demo-httpd:nginx\n# simple frontend\ndocker run --rm -e F5DEMO_APP=frontend -e F5DEMO_BACKEND_URL=http://10.1.20.10/backend.shtml f5devcentral/f5-demo-httpd:nginx\n# simple frontend with backend url using proxy host header\ndocker run --rm -e F5DEMO_APP=frontend -e F5DEMO_BACKEND_URL=http://10.10.10.10/backend.shtml -e F5DEMO_BACKEND_HOST=backend.corp f5devcentral/f5-demo-httpd:nginx\n# simple backend\ndocker run --rm -e F5DEMO_APP=backend f5devcentral/f5-demo-httpd:nginx\n# different name/color for non-ssl/ssl\ndocker run --rm -p 8080:80 -p 8443:443 \\\n                -e F5DEMO_APP=website \\\n                -e F5DEMO_NODENAME='No SSL' \\\n                -e F5DEMO_COLOR=ffd734 \\\n                -e F5DEMO_NODENAME_SSL='SSL Site' \\\n                -e F5DEMO_COLOR_SSL=a0bf37 \\\n                f5devcentral/f5-demo-httpd:nginx\n\n# compatible with openshift (does not run as root)\ndocker run --rm -p 8080:8080 -p 8443:8443 -e F5DEMO_APP=website f5devcentral/f5-demo-httpd:openshift\n```\n\nOther variables for \"website\"\n\n```\n# change the title\n-e F5DEMO_NODENAME='Your Website'\n# change the color\n\n# dark gray\n-e F5DEMO_COLOR=656263\n# yellow\n-e F5DEMO_COLOR=ffd734\n# blue\n-e F5DEMO_COLOR=0194d2\n# green\n-e F5DEMO_COLOR=a0bf37\n# orange\n-e F5DEMO_COLOR=ed7b0c\n# dark blue\n-e F5DEMO_COLOR=004892\n```\n\n### URIs\n\n```\n/index.shtml: simple site\n/frontend.shtml: simple frontend (for reverse-proxy demo)\n/backend.shtml: simple backend\n/backend/: proxy request to backend server\n/website.shtml: Simple website\n/headers/: Output of Client/Server HTTP headers\n/headers.json: Output of client headers in JSON\n/txt: NJS output of NGINX variables\n\n================================================\n ___ ___   ___                    _\n| __| __| |   \\ ___ _ __  ___    /_\\  _ __ _ __\n| _||__ \\ | |) / -_) '  \\/ _ \\  / _ \\| '_ \\ '_ \\\n|_| |___/ |___/\\___|_|_|_\\___/ /_/ \\_\\ .__/ .__/\n                                      |_|  |_|\n================================================\n\n      Node Name: F5 Docker vLab\n     Short Name: 41fd19e86e9a\n\n      Server IP: 172.17.0.2\n    Server Port: 80\n\n      Client IP: 172.17.0.1\n    Client Port: 45664\n\nClient Protocol: HTTP\n Request Method: GET\n    Request URI: /txt\n\n    host_header: localhost\n     user-agent: curl/7.29.0\nx-forwarded-for: 192.168.1.187\n\n\n```\n\n### Authored By\n\n[Eric Chen](https://devcentral.f5.com/s/profile/0051T000008tz2AQAQ) | [@chen23](https://github.com/chen23)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff5devcentral%2Ff5-demo-httpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff5devcentral%2Ff5-demo-httpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff5devcentral%2Ff5-demo-httpd/lists"}