Last active
August 29, 2015 14:11
-
-
Save haukurk/de26a83ac6f2172c5d5d to your computer and use it in GitHub Desktop.
Puppet Nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class { 'nginx': } | |
nginx::resource::vhost { "public.hauxi.is": | |
ensure => present, | |
proxy => 'http://localhost:3100' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
apt-get install puppet
puppet module install jfryman-nginx
puppet apply nginx.pp