Created
July 5, 2019 14:00
-
-
Save alf-ytakada/f99f55b965a56e206f41eaaa3f5e4742 to your computer and use it in GitHub Desktop.
UDP proxy nginx config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1; | |
# worker_rlimit_nofile 65535; | |
events { | |
worker_connections 10240; | |
} | |
error_log logs/error.log; | |
pid logs/nginx.pid; | |
stream { | |
upstream port5004 { | |
server radiko-metrics01:5004; | |
} | |
server { | |
listen 192.168.222.143:5004 udp; | |
proxy_pass port5004; | |
} | |
upstream port5006 { | |
server radiko-metrics01:5006; | |
} | |
server { | |
listen 192.168.222.143:5006 udp; | |
proxy_pass port5006; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment