Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #this is where nginix is running with SSL on
- server
- {
- server_name myserver.com;
- listen 443;
- ssl on;
- ssl_certificate pathtocert;
- ssl_certificate_ke keypath ;
- #I want nginix to route the call ip x.x.x.x
- # which is being passed as request parameter named 'name'
- location /gotoserver?name=x.x.x.x
- {
- set dserver $arg_name
- proxy_pass http://dserver:80
- }
- }
- location /
- {
- proxy_pass http://X.X.X.X:80
- }
Add Comment
Please, Sign In to add comment