Skip to content

Commit 536e613

Browse files
committed
Add custom type for gzip_proxied
1 parent 31aa089 commit 536e613

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

REFERENCE.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
* [`Nginx::DebugConnection`](#Nginx--DebugConnection)
3737
* [`Nginx::ErrorLogSeverity`](#Nginx--ErrorLogSeverity)
38+
* [`Nginx::GzipProxied`](#Nginx--GzipProxied): custom type for gzip_proxied
3839
* [`Nginx::LogFormat`](#Nginx--LogFormat)
3940
* [`Nginx::Size`](#Nginx--Size)
4041
* [`Nginx::Time`](#Nginx--Time)
@@ -791,7 +792,7 @@ Default value: `1.1`
791792

792793
##### <a name="-nginx--gzip_proxied"></a>`gzip_proxied`
793794

794-
Data type: `Any`
795+
Data type: `Nginx::GzipProxied`
795796

796797

797798

@@ -5041,6 +5042,15 @@ The Nginx::ErrorLogSeverity data type.
50415042

50425043
Alias of `Enum['debug', 'info', 'notice', 'warn', 'error', 'crit', 'alert', 'emerg']`
50435044

5045+
### <a name="Nginx--GzipProxied"></a>`Nginx::GzipProxied`
5046+
5047+
custom type for gzip_proxied
5048+
5049+
* **See also**
5050+
* http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_proxied
5051+
5052+
Alias of `Enum['off', 'expired', 'no-cache', 'no-store', 'private', 'no_last_modified', 'no_etag', 'auth', 'any']`
5053+
50445054
### <a name="Nginx--LogFormat"></a>`Nginx::LogFormat`
50455055

50465056
The Nginx::LogFormat data type.

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
$gzip_disable = 'msie6',
111111
$gzip_min_length = 20,
112112
$gzip_http_version = 1.1,
113-
$gzip_proxied = 'off',
113+
Nginx::GzipProxied $gzip_proxied = 'off',
114114
$gzip_types = undef,
115115
Enum['on', 'off'] $gzip_vary = 'off',
116116
Optional[Enum['on', 'off', 'always']] $gzip_static = undef,

types/gzipproxied.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @summary custom type for gzip_proxied
2+
# @see http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_proxied
3+
type Nginx::GzipProxied = Enum['off', 'expired', 'no-cache', 'no-store', 'private', 'no_last_modified', 'no_etag', 'auth', 'any']

0 commit comments

Comments
 (0)