trwnh / nginx-config-hacks

a personal repo of hacks i use to make nginx configs a tiny bit easier to manage

Home Page:http://sites.trwnh.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

a personal repo of hacks i use to make nginx configs a tiny bit easier to manage

http://sites.trwnh.com

License:The Unlicense


Languages

Language:Shell 100.0%