Created
April 12, 2021 02:17
-
-
Save nguyenhiepvan/72c9019b9da6c1164d07a20fb555302a to your computer and use it in GitHub Desktop.
stream mysql
This file contains hidden or 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
#nginx config here | |
#.... | |
#end nginx config | |
stream { | |
server { | |
listen 12345; | |
proxy_connect_timeout 1s; | |
proxy_timeout 3s; | |
proxy_pass 127.0.0.1:3306; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment