Skip to content

Commit 1c72d6f

Browse files
authored
fix: Default NGINX PID path (#555)
1 parent 88c32fc commit 1c72d6f

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ BUG FIXES:
1313
- Fix incompatibility when using the `listen` directive and setting both the `quic` and `so_keepalive` parameters.
1414
- Correct cleanup error when `nginx_config_cleanup_paths` is not defined.
1515
- Disable check_mode for validation task `jinja2_version`.
16+
- The default PID path has changed as of NGINX 1.27.5 and 1.28.0.
1617

1718
TESTS:
1819

defaults/main/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ nginx_config_main_template:
3636
# - /var/log/nginx/error.log
3737
# - file: /var/log/nginx/error.log # Required
3838
# level: notice
39-
pid: /var/run/nginx.pid
39+
pid: /run/nginx.pid
4040
# daemon: true # Boolean
4141
# debug_points: abort # Can be set to 'abort' or 'stop'
4242
# env: # MALLOC_OPTIONS # String, a list of strings, a dictionary, or a list of dictionaries. The 'variable' variable is only required when setting a 'value'.

molecule/common/files/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ user nginx;
22
worker_processes 4;
33

44
error_log /var/log/nginx/error.log warn;
5-
pid /var/run/nginx.pid;
5+
pid /run/nginx.pid;
66

77
events {
88
worker_connections 1024;

molecule/complete/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
- file: /var/log/nginx/molecule.log
5454
- file: /var/log/nginx/error.log
5555
level: notice
56-
pid: /var/run/nginx.pid
56+
pid: /run/nginx.pid
5757
daemon: true
5858
debug_points: abort
5959
env:

molecule/complete_plus/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
error_log:
3131
- file: /var/log/nginx/error.log
3232
level: notice
33-
pid: /var/run/nginx.pid
33+
pid: /run/nginx.pid
3434
worker_rlimit_nofile: 2048
3535
events:
3636
worker_connections: 1024

molecule/default/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
error_log:
2121
file: /var/log/nginx/error.log
2222
level: notice
23-
pid: /var/run/nginx.pid
23+
pid: /run/nginx.pid
2424
events:
2525
worker_connections: 1024
2626
http:

0 commit comments

Comments
 (0)