Serve HTTP through SSH with Nginx? -
we have server stuck inside our office network, , access outside office.
i set ssh tunnel on 1 of our public server in cloud computing company. can access our internal server ssh through public server.
but internal server serving webservices. we'd able access webservices there through public server , tunnel ssh between these both.
is there way of doing nginx? or other software actually.
sonny
you should use proxy_pass
directive, instance:
location /{ proxy_pass http://<the private server ip>:<the private server http port>/; }
it redirect every request private server
Comments
Post a Comment