1
0

Новый прод

This commit is contained in:
Anton Vakhrushev 2019-06-14 19:37:46 +03:00
parent c14c4f7a3c
commit 00ffca0e1b
3 changed files with 16 additions and 6 deletions

View File

@ -12,7 +12,7 @@ STAGE := vagrant
ifeq ($(STAGE), prod)
ANSIBLE_HOST_KEY_CHECKING := True
INVENTORY := ansible/hosts_prod
USER_ARGS := --user="av" --ask-become-pass
USER_ARGS := --user="root"
else
ANSIBLE_HOST_KEY_CHECKING := False
INVENTORY := ansible/hosts_vagrant
@ -34,8 +34,8 @@ configure:
--extra-vars='ansible_python_interpreter=/usr/bin/python3' \
$(PLAYBOOK)
configure-env:
$(MAKE) configure TAGS="env"
configure-apps:
$(MAKE) configure TAGS="webserver,apps,env"
dry-run:
ANSIBLE_HOST_KEY_CHECKING=$(ANSIBLE_HOST_KEY_CHECKING) \

View File

@ -1 +1 @@
188.225.75.67
92.53.119.18

View File

@ -1,11 +1,21 @@
# NetData proxy
:29999 {
status.vakhrushev.me {
proxy / 127.0.0.1:19999 {
transparent
}
tls anwinged@ya.ru
basicauth / anton show-me-the-status
}
# Homepage
:80 {
homepage.vakhrushev.me, vakhrushev.me {
root /var/www/homepage/current
tls anwinged@ya.ru
gzip
errors {
404 404/index.html
}
}