fix README
This commit is contained in:
parent
f4d543e0e9
commit
22b3f5a8c6
1 changed files with 7 additions and 2 deletions
|
@ -168,7 +168,11 @@ nginx::resource::vhost { 'puppet':
|
||||||
|
|
||||||
### Example puppet class calling nginx::vhost with HTTPS FastCGI and redirection of HTTP
|
### Example puppet class calling nginx::vhost with HTTPS FastCGI and redirection of HTTP
|
||||||
|
|
||||||
```define web::nginx_ssl_with_redirect (
|
```puppet
|
||||||
|
|
||||||
|
$full_web_path = '/var/www'
|
||||||
|
|
||||||
|
define web::nginx_ssl_with_redirect (
|
||||||
$backend_port = 9000,
|
$backend_port = 9000,
|
||||||
$php = true,
|
$php = true,
|
||||||
$proxy = undef,
|
$proxy = undef,
|
||||||
|
@ -224,7 +228,8 @@ nginx::resource::vhost { 'puppet':
|
||||||
|
|
||||||
# Call class web::nginx_ssl_with_redirect
|
# Call class web::nginx_ssl_with_redirect
|
||||||
|
|
||||||
```web::nginx_ssl_whith_redirect { 'sub-domain-name':
|
```puppet
|
||||||
|
web::nginx_ssl_with_redirect { 'sub-domain-name':
|
||||||
backend_port => 9001,
|
backend_port => 9001,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue