Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

nginx vhost not configuring properly

$
0
0
nginx::resource::vhost { 'service-set1-abc': server_name => ['start.sky.shoretel.com'], ssl => true, listen_port => '443', ssl_cert => '/etc/nginx/shoretel_rproxy_crt.crt', ssl_key => '/etc/nginx/shoretel_rproxy_crt.key', use_default_location => false } nginx::resource::location { '/shoreauth/certauth': proxy => 'https://ABC-servers$request_uri', vhost => 'service-set1-abc', proxy_set_header => ['Host $host','X-Real-IP $remote_addr','X-client-subject-dn $ssl_client_s_dn'], } This is my init.pp file i tried configuring a vhost here.The file gets created but the content of the file is not proper the file should be something like this server { _________ _______ location { ___________ } } Instead it gets created like this location { _________________ } server { __________________ } How do i get the location inside the server brackets...what changes are needed in the pp file? Thanks in advance Rahul

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>