keep worker 0 for internal usages

This commit is contained in:
Geno 2020-11-14 12:27:25 +01:00
parent 5fc9217063
commit b72b4e03b1
1 changed files with 2 additions and 0 deletions

View File

@ -66,7 +66,9 @@ http {
# sticky only on commercial nginx
# sticky cookie srv_id expires=8h;
{% for n in range(osp_worker_count) %}
{% if n != 0 %}
server 127.0.0.1:{{ osp_worker_start_port + n }};
{% endif %}
{% endfor %}
}