Fix nginx not failing to run on Archlinux

This commit is contained in:
SocietasCooperationis 2023-03-16 02:57:27 -04:00
parent bb6ee693ab
commit 73811f0c8e
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
user {{ nginx_user }};
error_log {{ nginx_error_log }};
{% if nginx_pidfile is defined and nginx_pidfile|d('')|length > 0 %}
pid {{ nginx_pidfile }};
{% endif %}
{% block worker %}
worker_processes {{ nginx_worker_processes }};

View File

@ -3,7 +3,7 @@ root_group: root
nginx_conf_path: /etc/nginx/conf.d
nginx_conf_file_path: /etc/nginx/nginx.conf
nginx_mime_file_path: /etc/nginx/mime.types
nginx_pidfile: /run/nginx.pid
nginx_pidfile: ""
nginx_vhost_path: /etc/nginx/sites-enabled
nginx_default_vhost_path: /etc/nginx/sites-enabled/default
__nginx_user: "http"