mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-10 22:19:32 -02:30
fix nginx proxy configuration conflicts (#3489)
* Allow configuration of nginx proxy config path * Fix the internal nginx configuration location Signed-off-by: Johann Queuniet <contact@lordran.net>
This commit is contained in:
committed by
k8s-ci-robot
parent
2117e8167d
commit
1911fe5ca8
@@ -6,7 +6,7 @@
|
||||
|
||||
- name: nginx-proxy | Make nginx directory
|
||||
file:
|
||||
path: /etc/nginx
|
||||
path: "{{ nginx_config_dir }}"
|
||||
state: directory
|
||||
mode: 0700
|
||||
owner: root
|
||||
@@ -14,7 +14,7 @@
|
||||
- name: nginx-proxy | Write nginx-proxy configuration
|
||||
template:
|
||||
src: nginx.conf.j2
|
||||
dest: "/etc/nginx/nginx.conf"
|
||||
dest: "{{ nginx_config_dir }}/nginx.conf"
|
||||
owner: root
|
||||
mode: 0755
|
||||
backup: yes
|
||||
|
||||
Reference in New Issue
Block a user