Forge Home

nginx

Puppet NGINX management module

48,476,990 downloads

15,838 latest version

4.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 5.0.0 (latest)
  • 4.4.0
  • 4.3.0
  • 4.2.0
  • 4.1.0
  • 4.0.0
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.1.1
  • 2.1.0
  • 2.0.0
  • 1.1.0
  • 1.0.0
  • 0.16.0
  • 0.15.0
  • 0.14.0
  • 0.13.0
  • 0.12.0
  • 0.11.0
  • 0.10.0
  • 0.9.0
  • 0.8.0
  • 0.7.1
  • 0.7.0
  • 0.6.0
  • 0.5.0
  • 0.4.0
released Jun 26th 2023
This version is compatible with:
  • Puppet Enterprise 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • , OpenBSD, , , , , , SLES, Solaris, AIX, FreeBSD, DragonFly, NetBSD, Archlinux,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppet-nginx', '5.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppet-nginx
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppet-nginx --version 5.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppet/nginx — version 5.0.0 Jun 26th 2023

Changelog

All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.

v5.0.0 (2023-06-26)

Full Changelog

Breaking changes:

Implemented enhancements:

v4.4.0 (2023-04-11)

Full Changelog

Implemented enhancements:

Merged pull requests:

v4.3.0 (2023-01-10)

Full Changelog

Implemented enhancements:

  • Add support for proxy_cache_convert_head #1534 (idl0r)
  • Add support for proxy_cache_background_update #1532 (idl0r)
  • Enable subdirectory hierarchy for client_body and proxy temp paths #1531 (jplindquist)
  • allow setting of map_hash_bucket_size and map_hash_max_size #1525 (tuxmea)

v4.2.0 (2022-12-20)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • apt::source: configure repo only for current architecture #1527 (bastelfreak)
  • init: set package_ensure defaults to installed #1523 (kenyon)

Closed issues:

  • Default package_ensure value is not compatible with current stdlib default for ensure_packages() #1522

v4.1.0 (2022-11-30)

Full Changelog

Implemented enhancements:

Merged pull requests:

v4.0.0 (2022-08-25)

Full Changelog

Breaking changes:

  • Allow to set log_format's "escape" parameter #1513 (smortex)
  • Move header escaping responsibility from the end user to Puppet #1512 (smortex)
  • Drop Debian 9 (EOL) #1508 (smortex)
  • Drop Ubuntu 16.04 (EOL) #1507 (smortex)
  • Drop run_dir and make client_body_temp_path/proxy_temp_path optional #1478 (b4ldr)

Implemented enhancements:

Fixed bugs:

Closed issues:

  • nginx::nginx_servers locations no longer produces valid nginx configuration (Regression) #1500
  • Issue with run files for nginx start with system start #1372
  • (non-Docker) acceptance test fails because of SELinux when trying to bind to mail ports #1114
  • Error when creating location '/' when $use_default_location not false #902

Merged pull requests:

v3.3.0 (2021-10-06)

Full Changelog

Implemented enhancements:

Closed issues:

  • Release with stdlib up to 9.0.0 #1469

v3.2.1 (2021-10-04)

Full Changelog

Closed issues:

  • Nginx::Resource::Server: has no parameter named 'proxy_cookie_path' #1458

Merged pull requests:

v3.2.0 (2021-06-05)

Full Changelog

Implemented enhancements:

v3.1.0 (2021-05-25)

Full Changelog

Implemented enhancements:

  • Unify (http_)log_format in nginx class and server resource #1452 (TuningYourCode)
  • Add variables to overwrite fastcgi.conf and uwsgi_params template #1451 (TuningYourCode)
  • Add parameter for pcre_jit #1450 (saz)
  • Add reset_timedout_connection parameter #1448 (saz)
  • Allow configuration of multiple ssl certificates and keys #1446 (saz)
  • Use more restrictive mode on temp paths #1443 (anarcat)

Fixed bugs:

  • Do not set resource defaults on ssl_cert/ssl_key resources #1449 (saz)

Closed issues:

  • Support hybrid RSA and ECDSA configuration #1434

Merged pull requests:

v3.0.0 (2021-01-25)

Full Changelog

https://github.com/voxpupuli/puppet-nginx/pull/1385 changes the default behaviour for manage_repo. Before that PR, only on certain Debian based systems the nginx repo is enabled. With #1385 it's enabled on all Debian based systems. Also, please note that REFERENCE.md was added in this release but is not yet complete.

Breaking changes:

Implemented enhancements:

Fixed bugs:

Merged pull requests:

v2.1.1 (2020-11-05)

Full Changelog

Merged pull requests:

v2.1.0 (2020-11-03)

Full Changelog

Implemented enhancements:

  • Add .flatten to location_allow to enable using nested arrays #1420 (kBite)
  • implement config check on config change before service restart #1419 (crazymind1337)

Merged pull requests:

v2.0.0 (2020-09-18)

Full Changelog

Breaking changes:

Implemented enhancements:

  • SSL Parameter should be configurable outside of vhosts #670
  • A redirect-only vhost #370
  • Adding resolver entries to streamhost.erb #1407 (smkillen)
  • Add debug_connection events option #1396 (juokelis)
  • Ensured file mode permissions are more consistent #1393 (triforce)
  • Add ability to set ssl-settings globally - fixes #670 #1382 (TuningYourCode)

Fixed bugs:

  • Actually use the ensure parameter for mailhost resource to provide absent support #1395 (qs5779)

Closed issues:

  • Syntax error in the 'A more complex proxy example' section of README.md #1390
  • Not generate config file in /etc/nginx/sites-available #1387
  • Nginx module causing Puppet RSpec failures #1377
  • puppetlabs/apt missing from metadata.json dependencies #1374
  • libnginx-mod-http-passenger should be installed instead of passenger #1340

Merged pull requests:

v1.1.0 (2020-01-25)

Full Changelog

Implemented enhancements:

  • Feature request: rate limiting (limit_req_zone, limit_req) #1134
  • Add support for limit_req_zone in main nginx config and limit_req: Fixes #1134 #1357 (absltkaos)
  • Mock facter version based on puppet version & unit tests: print puppet/facter version #1355 (bastelfreak)
  • Add VirtuozzoLinux support #1354 (bastelfreak)
  • CentOS: Add it back to metadata.json #1353 (bastelfreak)
  • Add ssl_password_file directive to support encrypted ssl keys #1346 (joernott)
  • manage repo for Debian 10 #1344 (octomike)
  • Enable setting autoindex variables #1343 (Rubueno)

Fixed bugs:

  • Debian run_dir should be in /var/run/nginx #1352 (anarcat)
  • Changed max_fails data type validation to Integer[0] since nginx allo… #1342 (andreasnanko)

Closed issues:

  • Question: How to set the default listening port? #1350
  • Move SSL redirect into a location #1347
  • Multiple location usage #1320
  • Support for ngx_http_autoindex_module #1027
  • Becoming #PuppetApproved #465

Merged pull requests:

v1.0.0 (2019-06-10)

Full Changelog

Breaking changes:

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Support for Ubuntu 18.04? #1307

Merged pull requests:

v0.16.0 (2019-02-09)

Full Changelog

Breaking changes:

  • modulesync 2.5.1 and drop Puppet 4 #1308 (bastelfreak)
  • Add hiera defaults configuration options for all resources; rename $nginx_upstream_defaults to $nginx_upstreams_defaults #1080 (mvisonneau)

Implemented enhancements:

  • Feature_request: Add proxy_max_temp_file_size and proxy_busy_buffers_size to parameter list #1176
  • Feature request: assign nginx location to multiple servers #1135
  • Same location on multiple vhosts #644
  • add repo_source for custom Debian repo #1298 (elfranne)
  • Automatically require SSL cert files in the server #1296 (ekohl)
  • Update smartos support #1290 (joelgarboden)
  • Allow multiple servers per location #1278 (SaschaDoering)
  • Add autoindex to ssl_header too #1275 (bc-bjoern)
  • allow adding custom mime types while still using the module defaults #1268 (bryangwilliam)
  • Introduce two new optional proxy parameters #1256 (ruriky)
  • initial support for snippets #1231 (bryangwilliam)

Fixed bugs:

Closed issues:

  • Streamhost resource does not remove the file #1304
  • IPv6 upstream members produce invalid configuration #1299
  • Is there a way to only create an entry if the cert exists? #1295
  • [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead (mailhost) #1284
  • Error pages on location level [help] #1279
  • "location" directive is not allowed here in /etc/nginx/sites-enabled/example.mydomain.com.conf:2 #1271
  • Nginx::Resource::Server: has no parameter named 'proxy_send_timeout' #1186

Merged pull requests:

  • simplify travis helper #1311 (bastelfreak)
  • Param server might also be a default upstream param #1310 (saz)
  • change rights for sites-enabled, streams-available #1289 (dpvpro)
  • Update documentation and examples associated with adding upstream parameters #1273 (alexskr)

v0.15.0 (2018-10-20)

Full Changelog

Breaking changes:

Implemented enhancements:

  • gzip is enabled by default #1085
  • Allow setting unquoted or custom flags on add_headers #1249 (itbm)

Closed issues:

  • introduction of $log_user broke module on OpenBSD #1259
  • nginx::resource::upstream make consistent use of nginx::resource::upstream::member #1222

Merged pull requests:

v0.14.0 (2018-10-06)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • Reliance on mime.types #1240
  • Multiple Location Problem #1221

Merged pull requests:

v0.13.0 (2018-07-09)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead #1224
  • dont deploy "ssl on" on nginx 1.15 or newer #1225 (bastelfreak)

Merged pull requests:

  • README: Remove old email address #1223 (3flex)
  • Fix documentation typo in location.pp #1220 (swenske)
  • Rely on beaker-hostgenerator for docker nodesets #1216 (ekohl)

v0.12.0 (2018-05-11)

Full Changelog

Implemented enhancements:

Fixed bugs:

Closed issues:

  • No such file or directory @ dir_s_mkdir #1202

Merged pull requests:

v0.11.0 (2018-03-17)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • nginx package spectest failing #1190
  • Fix #1190 Accommodate default package name nginx-mainline for Arch Linux #1191 (JacobHenner)
  • use correct nginx package name on archlinux #1184 (bastelfreak)

Closed issues:

  • Concat not listet as Requirement in Readme #1188

Merged pull requests:

v0.10.0 (2018-02-11)

Full Changelog

Implemented enhancements:

  • Add more per-location proxy options: proxy_send_timeout, proxy_ignore… #1169 (merclangrat)
  • Add add_header parameter to location #1160 (alexjfisher)
  • Use $service_name for service resource title. #1159 (fnoop)

Fixed bugs:

  • Fix syntax error in ERB template for fastcgi location. #1168 (rpasing)

Closed issues:

  • duplicating proxy_cache_path value #1175
  • allow/deny and auth_basic_user_file should be in the location #1172
  • Service resource name conflicts with system service #1158

Merged pull requests:

  • add missing autoindex parameter in template of server resource #1174 (joekohlsdorf)
  • Compatibility with puppetlabs-apt 4.4.0 #1163 (ekohl)
  • replace validate_* with datatypes in resource::map #1157 (bastelfreak)
  • Remove EOL operatingsystems #1153 (ekohl)
  • adding support for proxy_cache_bypass and proxy_cache_lock #1150 (ceonizm)
  • adding support for include directive in map #1149 (ceonizm)

v0.9.0 (2017-11-11)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • nginx_locations appearing in the wrong location in the config file #1142
  • invalid config generated when ssl is false and listen_port == ssl_port #648
  • Confine NGINX version fact to exclude Cisco Nexus switches #1140 (murdok5)

Closed issues:

  • Including nginx class not working due too nginx_error_log_severity parameter #1143
  • http_format_log for nginx servers #1139
  • Incorrect default timeout values #1137
  • setting index files to undef doesn't work as expected #1128

Merged pull requests:

v0.8.0 (2017-10-10)

Full Changelog

Fixed bugs:

  • Please add a 'warn' when someone is using 'nginx::resource::vhost' without previously including the nginx class #983

Merged pull requests:

v0.7.1 (2017-09-01)

Full Changelog

Breaking changes:

  • Optional parameters should default to undef and not false #1048
  • Don't allow strings to be given for integer parameters #1047

Closed issues:

  • Support puppetlabs/concat >= 4.0 #1117
  • Unable to include module's #1112
  • puppet-nginx requires outdated module dependencies #1107
  • ensure => 'absent' on nginx::resource::server leaves file behind #1103
  • Hiera/Problem with concat: Target Concat_file with path of ... not found in the catalog #1102
  • Bump puppetlabs/apt dependency #1086
  • Custom nginx.conf template is no longer working #1083
  • Hiera merge with multiple yaml files #614

Merged pull requests:

v0.7.0 (2017-08-01)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Fix deprecated apt::source usage #995
  • Allow default ssl_dhparam to be set in base class #1096 (alexjfisher)
  • Allow index_files => undef in resource::server class #1094 (walkamongus)
  • Add http_raw_prepend and http_raw_append parameters #1093 (walkamongus)
  • Use nginx defaults for fastcgi_params / uwsgi_params #1076 (wyardley)
  • Add hiera nginx_mailhosts_defaults like nginx_servers_defaults #1068 (dol)
  • Make ssl_prefer_server_ciphers configurable in server / mailhost #1067 (wyardley)
  • Avoid spurious location block when redirecting to SSL in another server block #1066 (oranenj)
  • Add fastcgi index #1062 (elmobp)
  • Warn if $ssl=false but $ssl_port == $listen_port (#1015) #1022 (wyardley)
  • Switch apt::source key from string to hash. #1016 (darkstego)

Fixed bugs:

  • Can't pass 'always' parameter to add_header due to single quoting #1020
  • Fix permissions on fastcgi_params and uwsgi_params files (#1002) #1003 (wyardley)

Closed issues:

  • ssl_dhparam no longer an option #1084
  • 'Cannot create a location reference without' rather annoying and blocks some possibilities #1074
  • Invalid parameter ensure at redhat.pp:49 #1065
  • Unable to control fastcgi_params from module? #1064
  • fastcgi_params file when set to non-default path if File resource not declared #1063
  • Make ssl_prefer_server_ciphers a variable #1032
  • nginx 0.6.0: bad location block causes nginx restart to fail #1029
  • Add "udp" for "listen_port" parameter, add stream resource example into README #1019
  • Using ssl_port without ssl => true makes module fail silently #1015
  • uninitialized constant Puppet::Type::Concat_file error after upgrade from 0.5.0 to 0.6.0 #1008
  • $location_sanitized variable present in code but unused #1006
  • fastcgi_params file set to permission 770 by default #1002
  • Add Oracle as one of Redhat operating systems for params file #988
  • Adding a simple vhost not as simple as it seems #887

Merged pull requests:

v0.6.0 (2017-01-13)

Full Changelog

Breaking changes:

  • Rename v[hH]ost to server everywhere #980 (sacres)
  • Rename rewrite_to_https => ssl_redirect (backwards-incompatible change) #957 (wyardley)
  • Major change: Rework namespace (get rid of ::config namespace again) #950 (wyardley)

Implemented enhancements:

  • HTTP->HTTPS #818
  • nginx_cfg_prepend missing in nginx class #771
  • upstream_cfg_append #717
  • Nested Locations #692
  • Log directory ownership and permissions do not respect OS #664
  • Current setup of gpgcheck in redhat package is insecure #651
  • Cannot purge unmanaged Upstreams #495
  • Nginx configuration #161

Fixed bugs:

  • include /etc/nginx/streams-available|enabled not in nginx.conf.erb #780
  • Cannot set both location_alias and fastcgi at the same time on a location #591

Closed issues:

  • What's the correct way to set config options now? #978
  • Allow access_log to be an array #975
  • nginx::locations puts locations in wrong order #971
  • No allowance for custom nginx source? #962
  • Upstreams do not depend on package #942
  • Support for Ubuntu 16.04? #935
  • How to use nginx::resource::vhost:add_header ? #899
  • nginx::resource::upstream with no members can only be called once #897
  • vhost_cfg_append with multiple entries having the same name (rewrite) not possible #807
  • ssl_cert and ssl_key are required #743
  • Cannot deny access via location #741
  • A negative configtest should be reported as a fail/error #722
  • Changing the vhost / location doesn't reload the server #706
  • fastcgi_params should not be creating non-standard files by default #682
  • Specifying keepalive and least\_conn in upstream gives warning. #641
  • www_root is not being added correctly #639
  • Hiera documentation bug #556
  • Issues with fastcgi_params #499
  • proxy_set_header does not support X-Forwarded-Proto and X-Forwarded-Port #476
  • proxy_redirect default value #395
  • Rename vhost to server.d #348

Merged pull requests:

  • Bump minimum version dependencies (for Puppet 4) #993 (juniorsysadmin)
  • Bump puppet minimum version_requirement to 3.8.7 #989 (juniorsysadmin)
  • add passenger_package_ensure parameter to allow pinning passenger version #987 (wyardley)
  • Added auth_request configuration capability #986 (mvisonneau)
  • Add support for proxy_cache_path loader directives #984 (carroarmato0)
  • Document include param for location and fix whitespace issue (issue #976) #977 (srinchiera)
  • fix validation range for location priority #972 (wyardley)
  • Reorganize templates for clearer understanding #970 (xaque208)
  • Put keepalive at bottom of upstream_cfg_{append,prepend} sections (#641) #969 (wyardley)
  • allow try_files and index in location resource #966 (wyardley)
  • Fix Bug: ensure => absent was not working on nginx::resource::location #965 (artberri)
  • fix map.erb to work on Redhat 6 releases #963 (mbelscher)
  • Set log directory ownership / permissions explicitly #959 (wyardley)
  • Add 'require' for parent dir of upstream, map, and geo configs as wel… #958 (wyardley)
  • Add fastcgi_param parameter to vhost resource #956 (xaque208)
  • Allow setting $daemon to "on" or "off" (defaults to unset) #955 (wyardley)
  • Add upstream_cfg_append (to match prepend) #953 (wyardley)
  • fix rubocop failures after rubocop version update #952 (wyardley)
  • officially add Ubuntu 1604 support #951 (wyardley)
  • docs changes to reflect upcoming changes #949 (wyardley)
  • default proxy_redirect to undef in locations (resolves #395) #948 (wyardley)
  • Use SSL for nginx APT repository #939 (saz)
  • Adds new SSL && protocol specific directives to mailhost setup #769 (dol)
  • add $members_tag parameter to nginx::resource::upstream #755 (brunoleon)

v0.5.0 (2016-10-27)

Full Changelog

Implemented enhancements:

  • Add "disable_symlinks" option for nginx::config class #847
  • Do not re-order parameters in location_custom_cfg alphabetically #828
  • how to set large_client_header_buffers ? #737
  • Allow and Deny directives... #662
  • Passenger Packages for CentOS/RHEL! #633
  • Cannot set ip_hash via Hiera #563
  • Get more friendly with concat #538
  • Multiple listen ip addresses (v4 and/or v6) #515
  • Add a custom response header for a location #511
  • vhost that binds to 'any host' -> no server_name #506
  • fastcgi_param https #492
  • cannot create location with only try_files defined #470
  • Should fail compilation when default location created for vhost without other required parameters #447
  • Windows Support #436
  • Any way to specify multiple listening ports? #433
  • Add map_hash_bucket_size and map_hash_max_size #429
  • Catch all requests with wrong host and return 444 status #261
  • Add uwsgi_pass #160
  • Global options for ssl ciphers #823 (jkroepke)

Fixed bugs:

  • Facter Rspec tests hangs on 2.3.0 #917
  • Secure configs for php-fpm/pathinfo #735
  • Adding iphash to Upstream has no effect #661
  • puppet tries to create vhost before nginx is installed? #610
  • Move try_files #736 (jkroepke)

Closed issues:

  • remove $configtest_enable parameter, look into nginx::service in general #916
  • Location code before server code in ssl_nodes #915
  • Warning and refresh even with no configs in the class declaration #905
  • log_dir works in vhost context, but not in main context #895
  • No require for File: sites-enabled and sites-available folders #894
  • Cannot set ssl log paths when overriding access and error logs #893
  • Improvement of the hiera-related documentation #892
  • sites-enabled on redhat? #889
  • acceptance tests with new(ish) Beaker version #882
  • Vox Pupuli Elections #871
  • RFC: Upstream vs distro packages #863
  • secure ssl configuration #859
  • Add File Output Preview #846
  • Looking for Maintainer #844
  • Is this module still "undergoing some structural maintenance"? #809
  • 'server {' stanza #792
  • /etc/nginx/mime.types file not found #791
  • white space #742
  • Little help request #733
  • Gzip values aren't passed incorrectly to nginx server #718
  • location if statement #713
  • Allow multiple access_log within server{} ( files + syslog ) #710
  • changing upstream and applying configuration does reload or restart? #708
  • Location ordering #686
  • Parameters for log_format #678
  • Package installs yum repo despite manage_repo setting #653
  • Multiple Locations #645
  • How to insert conditionals into location #617
  • proxy_http_version setting #615
  • Defining vhosts in Hiera #566
  • Default params problem #554
  • Hiera lookup #536
  • Manage_repo is missing in nginx::config #535
  • properties of members of an upstream #475
  • main class has no autoindex implementation #229
  • Right way to proxy a ssl server? #217
  • Root should not be inside location block #142

Merged pull requests:

  • Remove duplicate badges #947 (dhoppe)
  • Add missing badges #946 (dhoppe)
  • Allow vhost ssl cert andn key inheritance from http section #945 (jeffmccune)
  • add before => Package['nginx'] on repo absent ensures #944 (wyardley)
  • version bump and changelog for 0.5.0 #943 (wyardley)
  • Delete .ruby-version #936 (dhoppe)
  • Allow mappings to be supplied as array of hashes. #934 (wyardley)
  • Fix streamhost support #933 (wyardley)
  • Support array as well as string for passenger_pre_start #931 (wyardley)
  • Use default ssl_protocols for ssl mailhosts #930 (ekohl)
  • add debugging information in error message #928 (wyardley)
  • Restore $service_restart, now defaulting to undefined, but now withou… #927 (wyardley)
  • uwsgi: allow custom uwsgi_param directives #926 (darken99)
  • Deprecate (RHEL 5, Debian 5-6, Ubuntu 10.04) in module metadata #925 (wyardley)
  • Add expires directive to location #924 (wyardley)
  • Allow location_allow / location_deny as well in location blocks #923 (wyardley)
  • Support for proxy_pass_header directive. #922 (gallagherrchris)
  • Remove broken configtest_enable option #921 (wyardley)
  • Changes mock from mocha to rspec-mock #920 (petems)
  • Adds ability to detect modified nginx for fact #913 (petems)
  • Revert "Prevent custom fact from complaining when openresty is installed" #912 (wyardley)
  • migrate fixtures to github links #910 (bastelfreak)
  • SSL cipher changes (issue 859) #909 (wyardley)
  • Prevent custom fact from complaining when openresty is installed #908 (wyardley)
  • update URL in notice #907 (wyardley)
  • 'Require' vhost dir / enable dir in files #906 (wyardley)
  • fix for log_dir not being honored (#895) #904 (wyardley)
  • switch to voxpup contributer guidelines #901 (wyardley)
  • update of #812 (No reasons to manage separate files since confd_purge is available) #900 (wyardley)
  • add auth_http_header #898 (tjikkun)
  • try to improve spacing in generated configs (Issue #742) #891 (wyardley)
  • Allow multiple access / error logs in main config and vhosts, other logging changes #888 (wyardley)
  • more test and docs fixes for acceptance tests for CentOS / Passenger #886 (wyardley)
  • Configure acceptance tests on docker on travis #885 (3flex)
  • remove unmanaged nodesets #884 (3flex)
  • Fix acceptance test failures with newer Beaker versions #883 (wyardley)
  • Add additional config variables with default values (update of #693) #881 (wyardley)
  • add $passenger_pre_start variable #880 (wyardley)
  • Add missing stream dirs and create streams from hiera #879 (andybotting)
  • Add confd_only option #878 (wyardley)
  • add support for passenger on CentOS/RHEL #876 (wyardley)
  • [keepalive_requests] added keepalive_requests parameter in nginx.conf #873 (shoeb751)
  • Add option http_cfg_prepend #870 (abraham1901)
  • Expose the uwsgi_read_timeout parameter #867 (ekohl)
  • Allow locations with try_files only #834 (FlorianSW)

v0.4.0 (2016-09-02)

Full Changelog

Implemented enhancements:

Fixed bugs:

  • error with $worker_processes when using parser=future on Puppet 3.7.2 #806
  • Unable to resolve current fact #799
  • make fact work on old nginx as well #813 (bastelfreak)

Closed issues:

  • location_custom_cfg only allows 1 rewrite #861
  • 0.3.0 version on puppet forge and github are different. #860
  • Resources problem #854
  • Passenger Enterprise #848
  • SSL-Only Vhost #845
  • Tag request #843
  • Ubuntu 16.04 - signing key error #839
  • Amazon linux fails to comile #837
  • Debian package source URL should be overridable. #831
  • Debian 8 failure. #830
  • How to set gzip variables/parameters #827
  • nginx_version fact not confined #814
  • duplicate MIME type "text/html" #810
  • internal location #808
  • add_header doesn't support headers properly #803
  • concat::fragment $ensure deprecated #802
  • Version inconsistencies ('v' prepended) #801
  • How to prevent variable substitution #795
  • key and cert are required under SSL #793
  • WARNING: The $ensure parameter to concat::fragment is deprecated and has no effect #776
  • Concat 2.0 deprecation warnings #759
  • duplicate MIME type "text/html" when starting nginx #748
  • Setting nginx::config::xxx options in hiera does not work with puppet 4.3 #723
  • "You cannot collect exported resources without storeconfigs being set" at manifests/resource/upstream.pp:89:5 #720
  • Redirect http to https. #695
  • Deprecation warning for parameters #564

Merged pull requests:

v0.3.0 (2016-02-06)

Full Changelog

Implemented enhancements:

  • http -> https redirection option #654
  • Multiple proxy_cache_path entries #637 (jacobmw)

Fixed bugs:

  • Circuler dependency #656
  • upgrade to puppetlabs/apt >= 2.0.0 #646
  • Invalid parameter: 'key_source' Apt::Source[nginx] at /etc/puppetlabs/code/modules/nginx/manifests/package/debian.pp:37 #629

Closed issues:

  • Could not retrieve nginx_version: uninitialized constant Facter::Core #758
  • README not helping as much as it could to create a reverse proxy #751
  • no "managed by puppet" comments #749
  • Unable to connect to Upstart Ubuntu 15.10 #734
  • manage_repo => false feature is not available #731
  • Origin of invalid parameter "16k" #730
  • add_header for location #729
  • Circular dependency when setting daemon_user and super_user #728
  • nginx repo key too short #714
  • Folders beeing created before the package is installed. #704
  • Puppet 4 support? #696
  • proxy.conf.erb seems to be missing #694
  • Support for GeoIP on Debian? #691
  • http2 support #690
  • Problem with nginx::resource::vhost and ssl_cert/ssl_key path and permissions (644 for key) #688
  • Location ordering #685
  • Error: Comparison of: String \< Integer, is not possible #684
  • Why worker_processes isn't set at processorcount by default? #679
  • warning/notice about hiera? #677
  • fastcgi.erb doesn't include rewrite_rules. Why? #674
  • upstream::member: ensure? #672
  • Hiera changes aren't picked up #671
  • Wildcard domain #668
  • Hiera Variables and return 301. #665
  • Misinterpretation of puppet-module-data #663
  • Deprecation warning when adding worker_processes through hiera #655
  • Invalid parameter options on Apt_key[Add key: 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 from Apt::Source nginx] #650

Merged pull requests:

v0.2.7 (2015-06-18)

Full Changelog

Implemented enhancements:

  • SSL Self signed cert #630
  • Latest version no longer works on DragonFlyBSD #619
  • Support puppetlabs-apt 2.0.0 #611
  • Unable to set auth_basic for "alias" location type #600
  • Storing SSH Keys and Certs in Hiera #286
  • fastcgi location does not support auth_basic #260
  • Vhost and loation proxy_cache_key and proxy_cache_use_stale #636 (jacobmw)
  • Create directory for log files #635 (geoffgarside)
  • SSL updates #623 (3flex)
  • travis: test on Puppet 4 for real #613 (3flex)
  • package/debian: support puppetlabs-apt 2.0.0 #612 (3flex)
  • Switch acceptance tests to Beaker #607 (3flex)
  • Add uwsgi support #398 (mvintila)

Fixed bugs:

  • Circular dependency in 0.2.3 #609
  • redundant "maintenance" code applied to every vhost #602
  • Can't have more than 1 password protected location #572
  • type reference for create_resources in init.pp using top level namespace causing catalog to fail to compile #550
  • Circular Dependency Error When referenced from another module #244
  • Require base folder for resources #624 (Tombar)
  • location: remove the auth_basic_user_file resource #608 (3flex)
  • Include ssl settings in rewrite_www server. #548 (joehillen)
  • Prevent missing resource errors if custom configuration is used without default location #545 (SteveMaddison)

Closed issues:

  • ssl_cert => 'puppet:///modules/sslkey/wildcard_mydomain.crt' doesn't work after upgrade #638
  • Unable to validate module on servers not using it #631
  • Support Debian 8 #620
  • 'undef' from left operand of 'in' expression is not a string at /etc/puppet/modules/nginx/manifests/params.pp:23 #601
  • [WIP] Improve SSL support #599
  • ssl vhost gives error #585
  • class ::nginx::config has not been evaluated #580
  • vagrant vhost files #577
  • How to set document root in server block using hiera? #576
  • Configure passenger through hiera. #568
  • location_custom_cfg not processing in template #567
  • SSL issue with rewrite_www_to_non_www parameter #542
  • location_custom_cfg_append keeps on refreshing nginx service every puppet run. #503
  • Setting up nginx cache, not getting the expected result. #424
  • Sendfile not fully configurable #422
  • ssl certificates #404
  • More thorough documentation #401
  • SSL certificate not found #397
  • vhost: $rewrite_www_to_non_www #381
  • Support internal locations #340
  • vhost configuration, www_root and default location #317
  • Invalid Relationship File #299
  • Add rewrite with if clause to puppet #279
  • Allow to use multiple locations in vhost #189
  • SSL Cert/Key Template #126
  • Subdir for ssl certs #80

Merged pull requests: