38 lines
746 B
YAML
38 lines
746 B
YAML
- name: ensure nginx is configured to proxy for minio
|
|
template:
|
|
src: minio.nginx.conf.j2
|
|
dest: /etc/nginx/default.d/minio.conf
|
|
owner: root
|
|
group: root
|
|
mode: u=rw,go=r
|
|
notify:
|
|
- reload nginx
|
|
tags:
|
|
- config
|
|
- nginx-config
|
|
- minio-nginx
|
|
- minio-backend
|
|
|
|
- name: ensure nginx is configured to proxy for minio console
|
|
template:
|
|
src: minio-console.nginx.conf.j2
|
|
dest: /etc/nginx/conf.d/minio-console.conf
|
|
owner: root
|
|
group: root
|
|
mode: u=rw,go=r
|
|
notify:
|
|
- reload nginx
|
|
tags:
|
|
- config
|
|
- nginx-config
|
|
- minio-nginx
|
|
- minio-console
|
|
|
|
- name: ensure selinux allows nginx to proxy
|
|
seboolean:
|
|
name: httpd_can_network_connect
|
|
persistent: true
|
|
state: true
|
|
tags:
|
|
- selinux
|