Comments (2)
@JeroenBakker nice catch, thank you so much for filing this issue. you're 100% right that we're missing documentation on this behavior. x-forwarded-host
isn't an automatic header, it only appears when you rewrite the host
header.
you can work around this problem for the moment with this command instead:
ngrok http example.com:443 --request-header-add 'host: example.com' --request-header-remove 'x-forwarded-host'
this command works when --host-header
does not because of an implementation detail about how --host-header
is implemented. it will be fixed in the next release of the ngrok agent. and then they will both work equivalently.
we'll make sure to get this behavior documented as well. thank you again!
from ngrok-docs.
Thanks for the quick response, the workaround is exactly what I needed!
from ngrok-docs.
Related Issues (20)
- SEO: Pagespeed scores need improvement
- SEO: Add canonical URLs
- SEO: Soft 404s on error pages
- SEO: 404 URLs HOT 1
- SEO: Page has links to broken URLs HOT 2
- SEO: Image too large HOT 1
- SEO: CSS too large
- SEO: Meta description and title improvements
- kubernetes-ingress-controller is incorrectly documented as ngrok-ingress-controller
- host-header rewrite examples should be updated to use host header flag, instead of add headers
- Add a guide for configuring a custom domain in GoDaddy
- Using ngrok with Docker compose -- clarify need for host.docker.internal in ngrok.yml on Mac HOT 1
- Limits Page Guide - Update for Free Plan limits
- Update Reserved Domains - API Reference examples for region?
- Add information on addresses used by ngrok Agent to connect HOT 2
- Agent Configuration File documentation missing crl_noverify setting HOT 1
- Clarify usage of wildcard domains on ngrok managed domains HOT 1
- Add examples for IPv6 upstream addresses
- SEO: API Docs issues
- Create a guide for running ngrok in low bandwidth environments
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 ngrok-docs.