fix copr frontend in prod too
This commit is contained in:
parent
ae7f6dee65
commit
452b5f50a4
1 changed files with 6 additions and 0 deletions
|
@ -591,9 +591,15 @@ backend freshmaker-backend
|
||||||
server freshmaker-frontend01 freshmaker-frontend01:80 check inter 20s rise 2 fall 3
|
server freshmaker-frontend01 freshmaker-frontend01:80 check inter 20s rise 2 fall 3
|
||||||
option httpchk GET /api/1/builds/
|
option httpchk GET /api/1/builds/
|
||||||
|
|
||||||
|
{% if env == "production" %}
|
||||||
|
#frontend copr-frontend
|
||||||
|
# bind 0.0.0.0:10070
|
||||||
|
# default_backend copr-backend
|
||||||
|
{% else %}
|
||||||
frontend copr-frontend
|
frontend copr-frontend
|
||||||
bind 0.0.0.0:10070
|
bind 0.0.0.0:10070
|
||||||
default_backend copr-backend
|
default_backend copr-backend
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if env == "production" %}
|
{% if env == "production" %}
|
||||||
#backend copr-backend
|
#backend copr-backend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue