Skip to content

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

License

Notifications You must be signed in to change notification settings

trwnh/nginx-config-hacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages