Added API for bunkerweb

This commit is contained in:
Alexey Berezhok
2026-04-27 00:47:57 +03:00
parent 4b023ea671
commit 592b954a9f
9 changed files with 1286 additions and 11 deletions

View File

@@ -25,14 +25,14 @@
# Удаляем конфигурационные файлы Nginx
- name: Remove passenger.conf
ansible.builtin.file:
path: /etc/nginx/conf.d/passenger.conf
path: /usr/local/hestia/nginx-system/etc/nginx/conf.d/passenger.conf
state: absent
- name: Remove passenger_includer.conf
ansible.builtin.file:
path: /etc/nginx/conf.d/main/passenger.conf
path: /usr/local/hestia/nginx-system/etc/nginx/conf.d/main/passenger.conf
state: absent
# Перезапускаем Nginx (необязательно, но полезно)
- name: Restart nginx service
ansible.builtin.service:
name: nginx
name: nginx-system
state: restarted