Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream backend {
- server 10.8.160.41;
- }
- # This server accepts all traffic to port 80 and passes it to the upstream.
- # Notice that the upstream name and the proxy_pass need to match.
- server {
- listen 8081;
- location / {
- proxy_pass http://backend;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement