{"id":15915860,"url":"https://github.com/trwnh/nginx-config-hacks","last_synced_at":"2026-05-05T12:32:40.569Z","repository":{"id":140224597,"uuid":"131829795","full_name":"trwnh/nginx-config-hacks","owner":"trwnh","description":"a personal repo of hacks i use to make nginx configs a tiny bit easier to manage","archived":false,"fork":false,"pushed_at":"2019-11-01T05:36:55.000Z","size":32,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T19:24:25.234Z","etag":null,"topics":["arch-linux","archlinux","nginx","nginx-configuration","nginx-php-fpm","nginx-proxy"],"latest_commit_sha":null,"homepage":"http://sites.trwnh.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trwnh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"liberapay":"trwnh","custom":["https://paypal.me/trwnh"],"patreon":"trwnh"}},"created_at":"2018-05-02T09:38:22.000Z","updated_at":"2019-11-01T05:36:57.000Z","dependencies_parsed_at":"2024-03-31T00:32:15.134Z","dependency_job_id":null,"html_url":"https://github.com/trwnh/nginx-config-hacks","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"54f8a9453c0faab7e157958508a7e8fbd6a68116"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trwnh%2Fnginx-config-hacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trwnh%2Fnginx-config-hacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trwnh%2Fnginx-config-hacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trwnh%2Fnginx-config-hacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trwnh","download_url":"https://codeload.github.com/trwnh/nginx-config-hacks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246940335,"owners_count":20858113,"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":["arch-linux","archlinux","nginx","nginx-configuration","nginx-php-fpm","nginx-proxy"],"created_at":"2024-10-06T18:00:19.789Z","updated_at":"2026-05-05T12:32:35.540Z","avatar_url":"https://github.com/trwnh.png","language":"Shell","funding_links":["https://liberapay.com/trwnh","https://paypal.me/trwnh","https://patreon.com/trwnh"],"categories":[],"sub_categories":[],"readme":"# nginx-config-hacks\na personal repo of hacks i use to make nginx configs a tiny bit easier to manage\n\n# structure\n* root of this repo is /etc/nginx\n* includes site configs in ./sites\n* includes snippets in ./snippets\n* also includes ./httpd if you're proxying to apache (which lives in /etc/httpd instead)\n* some bash scripts in ./bin (which lives in ~/bin)\n\n# credits / links / resources\n* thanks to https://serversforhackers.com/c/nginx-php-in-subdirectory for the only config posted on the internet that actually works when hosting php apps in a subdirectory\n* most other configs are either copied from or based on arch linux's package defaults or from the wiki\n\n# looking for prototypical configs?\n* sites/connectzaatari.conf = simple http one-pager, with optional assets\n* sites/koken.conf = koken (uses snippets for everything)\n* sites/trwnh.com = base site running pure html (intentionally doesn't include snippets/php.conf)\n  * .../known = proxy pass to apache\n  * .../portfolio = redirect to subdomain\n  * .../october = php in subdirectory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrwnh%2Fnginx-config-hacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrwnh%2Fnginx-config-hacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrwnh%2Fnginx-config-hacks/lists"}