{"id":29123626,"url":"https://github.com/cheesecake87/flask-example-subdir-host-flask","last_synced_at":"2026-02-02T08:03:44.086Z","repository":{"id":265124760,"uuid":"894977419","full_name":"CheeseCake87/Flask-Example-Subdir-Host-Flask","owner":"CheeseCake87","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-28T19:47:12.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T12:32:14.239Z","etag":null,"topics":[],"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/CheeseCake87.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,"zenodo":null}},"created_at":"2024-11-27T10:44:44.000Z","updated_at":"2025-06-20T07:07:04.000Z","dependencies_parsed_at":"2025-06-24T00:16:33.464Z","dependency_job_id":null,"html_url":"https://github.com/CheeseCake87/Flask-Example-Subdir-Host-Flask","commit_stats":null,"previous_names":["flask-planet/exa-subdir-flask","flask-planet/exa-subdir-host-flask","cheesecake87/flask-example-subdir-host-flask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CheeseCake87/Flask-Example-Subdir-Host-Flask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheeseCake87%2FFlask-Example-Subdir-Host-Flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheeseCake87%2FFlask-Example-Subdir-Host-Flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheeseCake87%2FFlask-Example-Subdir-Host-Flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheeseCake87%2FFlask-Example-Subdir-Host-Flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheeseCake87","download_url":"https://codeload.github.com/CheeseCake87/Flask-Example-Subdir-Host-Flask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheeseCake87%2FFlask-Example-Subdir-Host-Flask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29007385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T06:37:10.400Z","status":"ssl_error","status_checked_at":"2026-02-02T06:37:09.383Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-06-29T19:09:06.071Z","updated_at":"2026-02-02T08:03:44.079Z","avatar_url":"https://github.com/CheeseCake87.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EXA-Sub-Domain\n\n(EXA, Example)\n\nContains a working example of using Flask in the context of a domain\nsubdirectory.\n\n### Setup\n\nInstall Docker and Docker Compose.\n\nAdd the following to your `hosts` file:\n\n```bash\n127.0.0.1       example.go\n```\n\n**Linux most common `hosts` file location**\n\n`/etc/hosts`\n\n(open with sudo if needed, edit, then save)\n\n**Windows `hosts` file location**\n\n`c:\\Windows\\System32\\drivers\\etc\\hosts`\n\n(copy to desktop, edit, then paste back to folder)\n\n### Run\n\n```bash\ndocker-compose up --build\n```\n\n### Info\n\nThis example is set up in a way that you will see both the Nginx\nlogs and Flask logs in the terminal, after running the above command.\n\nA blueprint is used to match the subdirectory that Flask sits under in the\nNginx site config [5050.app.nginx](nginx_sites_enabled/5050.app.nginx).\n\nThe root of the `example.go` domain will show the html page in the\n`[nginx_html](nginx_html)` folder. The Flask app will be available at `/subdir`\nof the domain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheesecake87%2Fflask-example-subdir-host-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheesecake87%2Fflask-example-subdir-host-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheesecake87%2Fflask-example-subdir-host-flask/lists"}