Created
May 15, 2021 10:48
-
-
Save devdilson/e2383f1972b82003b8fcce692d2e4611 to your computer and use it in GitHub Desktop.
Nginx Centos Reverse Proxy
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
| load_module '/usr/lib64/nginx/modules/ngx_stream_module.so'; | |
| events {} | |
| stream { | |
| server { | |
| listen 8484; # expose port | |
| proxy_pass 127.0.0.1:8485; # port exposed in localhost | |
| } | |
| } | |
Author
yum install nginx -y
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.