Инструменты пользователя

Инструменты сайта


wiki:technical:upsream

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
wiki:technical:upsream [2022/03/27 20:53] Dimanwiki:technical:upsream [2026/04/14 18:05] (текущий) Diman
Строка 1: Строка 1:
 ====Upstream SSL in NGINX==== ====Upstream SSL in NGINX====
 +
 +<code bash>
 +
 +#
 +# install nginx stream module
 +
 +apt install -y nginx libnginx-mod-stream
 +
 +mkdir /etc/nginx/stream.d/
 +
 +##
 +# to nginx.conf add
 +
 +include /etc/nginx/stream.d/*.conf;
 +
 +http {
 +...
 +
 +
 +</code>
 +
 +=== "stream" directive is not allowed here ===
 +
 +
 +
 +
 +<code>
 +
  worker_processes  16;  worker_processes  16;
  error_log  /var/log/nginx/error.log;  error_log  /var/log/nginx/error.log;
Строка 10: Строка 38:
    upstream vpro {    upstream vpro {
       server web1:443;       server web1:443;
 +      server web2:443;
 +      server web3:443 weight=3;
    }    }
    server {    server {
Строка 32: Строка 62:
     }     }
  }  }
 +</code>
wiki/technical/upsream.1648414388.txt.gz · Последнее изменение: Diman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki