Skip to content

Commit 5c361ca

Browse files
authored
Improve the NGINX main config defaults (#252)
1 parent e39bafc commit 5c361ca

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.5.2 (Unreleased)
4+
5+
BUG FIXES:
6+
7+
Improve the NGINX main config defaults to bring them closer to the standard NGINX defaults on a fresh NGINX install.
8+
39
## 0.5.1 (April 6, 2022)
410

511
FEATURES:

defaults/main/template.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ nginx_config_main_template:
1717
backup: true
1818
config:
1919
main: # Configure NGINX main core directives
20-
load_module: modules/ngx_http_js_module.so # String or a list of strings
21-
# - modules/ngx_http_js_module.so
20+
# load_module: modules/ngx_http_js_module.so # String or a list of strings
21+
# - modules/ngx_http_js_module.so
2222
user: # nginx # Can alternatively be set to a 'username' string
2323
username: nginx # Required
2424
group: nginx
@@ -66,9 +66,9 @@ nginx_config_main_template:
6666
worker_connections: 1024 # Number
6767
http:
6868
include: /etc/nginx/conf.d/*.conf # String or a list of strings
69-
stream:
70-
include: # String or a list of strings
71-
- /etc/nginx/conf.d/stream/*.conf
69+
# stream:
70+
# include: # String or a list of strings
71+
# - /etc/nginx/conf.d/stream/*.conf
7272

7373
# Enable creating dynamic templated NGINX HTTP configuration files.
7474
# Defaults will not produce a valid configuration. Instead they are meant to showcase

0 commit comments

Comments
 (0)