Comments (3)
Would be really useful because most of my projects that run Apache or Nginx are expecting to respond only to a particular Host request.
from go-http-tunnel.
Any update here?
I encounter a problem, not sure whether it is related to this thread.
My website is using the 4444 port on the server. By using Nginx, I proxy request to 80 port to my website.
In the meantime, I want to use go-http-tunnel to access my local machine, so I set the go-http-tunnel service listen port 5555(since 80 is already been used). And I write the nginx config as follows:
server{
listen 80;
server_name tunnel.myownsite.com;
access_log /var/log/nginx/tunnel_access.log;
error_log /var/log/nginx/tunnel_error.log;
location / {
proxy_pass http://localhost:5555/;
proxy_set_header Host $http_host;
}
}
The client config is as follows:
server_addr: 52.183.47.200:4567
insecure_skip_verify: true
tunnels:
webui:
proto: http
addr: localhost:8080
host: localhost
On my server, I can use wget localhost:5555
to access the local machine. Request of tunnel.myownsite.com said
client not subscribed
Thank you very much!
from go-http-tunnel.
In case anyone else has the same issue:
If you're having issues after using Nginx as a reverse proxy you should try adding the following to your location block:
proxy_set_header Host $host;
from go-http-tunnel.
Related Issues (20)
- client not subscribed issue HOT 2
- Feature request. I would like an option for the tunnel to never be cut. HOT 1
- How to SSH to the client using go-http-tunnel implementation HOT 2
- ssh tunnel connection timeout HOT 7
- invalid identifier "2DZE5EU-...": check digit incorrect
- Please support web socket wss HOT 1
- How do you persist two subdomains in the tunnel.yml file? HOT 1
- too many open connections on socket after 3 hours of running the client
- Protocol Proxy Error HOT 2
- HTTP POST return 404
- NTLMv2 Support
- Can't run client on macos
- IF YOU WOULD LIKE TO SEE THIS PROJECT MODERNIZED PLEASE UPVOTE HOT 13
- Tunneld stops responding from time to time.
- License HOT 1
- compressed memory openwrt HOT 1
- self signed certificate error HOT 2
- Need to change the default port's used 80 and 443. HOT 1
- it was a domain problem and it worked again but when i want to connect to my node-red it says lost connection HOT 1
- Add note for go version required
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-http-tunnel.