Добавлены nginx конфиги mainsail

This commit is contained in:
Nikolay Kopitonenko 2024-08-14 23:55:37 +03:00
parent ada5784168
commit c1cfea8593
2 changed files with 4 additions and 0 deletions

View File

@ -154,6 +154,7 @@ file:
owner: root
group: root
mode: "0644"
md5: cdd4db70530b344c4a8e31b0a96e39c6
/etc/haproxy/haproxy.cfg:
exists: true

View File

@ -40,6 +40,9 @@ apt-get -y install nginx
rm -f /etc/nginx/conf.d/default.conf
rm -f /etc/nginx/sites-enabled/default
install -m644 -o 0 -g 0 $ConfigsHome/etc/nginx/conf.d/mainsail.conf /etc/nginx/conf.d/mainsail.conf
install -m644 -o 0 -g 0 $ConfigsHome/etc/nginx/sites-enabled/mainsail /etc/nginx/sites-enabled/mainsail
install -m644 -o 0 -g 0 $ConfigsHome/etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg
bash -c '