Skip to content

Instantly share code, notes, and snippets.

@haukurk
Last active August 29, 2015 14:11
Show Gist options
  • Save haukurk/de26a83ac6f2172c5d5d to your computer and use it in GitHub Desktop.
Save haukurk/de26a83ac6f2172c5d5d to your computer and use it in GitHub Desktop.
Puppet Nginx
class { 'nginx': }
nginx::resource::vhost { "public.hauxi.is":
ensure => present,
proxy => 'http://localhost:3100'
}
@haukurk
Copy link
Author

haukurk commented Dec 19, 2014

apt-get install puppet

puppet module install jfryman-nginx

puppet apply nginx.pp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment