[ADD] Removes nginx default site
This commit is contained in:
parent
f857b3677b
commit
b150f40062
@ -9,3 +9,9 @@ ansible-pull --vault-password-file /root/.vault_pass.txt -U "https://gitea.agofe
|
||||
Based on [Official Zabbix Server Role][1]
|
||||
|
||||
[1]: https://github.com/ansible-collections/community.zabbix/tree/main/roles/zabbix_server
|
||||
|
||||
Default username/password for the Zabbix Web interface is the default.
|
||||
|
||||
Username: Admin
|
||||
Password: zabbix
|
||||
|
||||
|
||||
@ -72,6 +72,13 @@
|
||||
notify:
|
||||
- Reiniciar PHP-FPM
|
||||
|
||||
- name: 'Eliminar configuración por omisión de Nginx'
|
||||
file:
|
||||
path: '/etc/nginx/sites-enabled/default'
|
||||
state: 'absent'
|
||||
notify:
|
||||
- Reiniciar Nginx
|
||||
|
||||
- name: 'Configurar Zabbix en Nginx'
|
||||
template:
|
||||
src: nginx.conf.j2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user