Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trwnh/nginx-config-hacks
a personal repo of hacks i use to make nginx configs a tiny bit easier to manage
https://github.com/trwnh/nginx-config-hacks
arch-linux archlinux nginx nginx-configuration nginx-php-fpm nginx-proxy
Last synced: about 2 months ago
JSON representation
a personal repo of hacks i use to make nginx configs a tiny bit easier to manage
- Host: GitHub
- URL: https://github.com/trwnh/nginx-config-hacks
- Owner: trwnh
- License: unlicense
- Created: 2018-05-02T09:38:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-01T05:36:55.000Z (over 5 years ago)
- Last Synced: 2024-10-28T17:25:36.159Z (3 months ago)
- Topics: arch-linux, archlinux, nginx, nginx-configuration, nginx-php-fpm, nginx-proxy
- Language: Shell
- Homepage: http://sites.trwnh.com
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# nginx-config-hacks
a personal repo of hacks i use to make nginx configs a tiny bit easier to manage# structure
* root of this repo is /etc/nginx
* includes site configs in ./sites
* includes snippets in ./snippets
* also includes ./httpd if you're proxying to apache (which lives in /etc/httpd instead)
* some bash scripts in ./bin (which lives in ~/bin)# credits / links / resources
* 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
* most other configs are either copied from or based on arch linux's package defaults or from the wiki# looking for prototypical configs?
* sites/connectzaatari.conf = simple http one-pager, with optional assets
* sites/koken.conf = koken (uses snippets for everything)
* sites/trwnh.com = base site running pure html (intentionally doesn't include snippets/php.conf)
* .../known = proxy pass to apache
* .../portfolio = redirect to subdomain
* .../october = php in subdirectory