株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

streamを利用する。httpと同じ設定の階層

stream {
    error_log /var/log/nginx/stream.log info;

    upstream filemaker {
       server 192.168.11.254:5003;
    }

    server {
        listen 5003;
        proxy_pass filemaker;
    }
}

v1.19から加わった設定のよう

# nginx -v
nginx version: nginx/1.19.6

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)