dev/modules/sysconfig/manifests/deploy.pp
changeset 588 8e9ea314e06e
parent 587 a1aa29e7809f
child 590 e103299bccc0
equal deleted inserted replaced
587:a1aa29e7809f 588:8e9ea314e06e
    40         members               => [ 'unix:/var/run/gunicorn/comt.socket' ],
    40         members               => [ 'unix:/var/run/gunicorn/comt.socket' ],
    41         upstream_fail_timeout => 0,
    41         upstream_fail_timeout => 0,
    42         require               => Exec['reload_supervisor']
    42         require               => Exec['reload_supervisor']
    43     }
    43     }
    44 
    44 
    45     nginx::resource::vhost { '172.16.1.2':
    45     nginx::resource::vhost { $ipaddress_eth1:
    46         ensure           => present,
    46         ensure           => present,
    47         proxy            => 'http://coment_app',
    47         proxy            => 'http://coment_app',
    48         proxy_set_header => ['Host $http_host'],
    48         proxy_set_header => ['Host \$http_host'],
    49         vhost_cfg_append => {
    49         vhost_cfg_append => {
    50             'proxy_redirect' => 'off'
    50             'proxy_redirect' => 'off'
    51         },
    51         },
    52         require          => Nginx::Resource::Upstream['coment_app']
    52         require          => Nginx::Resource::Upstream['coment_app']
    53     }
    53     }