The LocalXpose configuration file is a yaml file that can be initialised with test configuration data using:
./loclx tunnel config init
Here is the example w euse at Astral Ship:
astral: type: http region: eu reserved_domain: 'astralship.wiki' to: localhost:80 plugins: request_header: - Connection:keep-alive - Keep-Alive:timeout=5 subastral: type: http region: eu reserved_domain: '*.astralship.wiki' to: localhost:80 plugins: request_header: - Connection:keep-alive - Keep-Alive:timeout=5
# Documentation
# Warning
The LocalXpose configuration file is sensitive to whitespace. While an HTTP header may be correctly formatted as:
Connection: keep-alive
When you add it to the configuration file you need to omitt the whitespace like so (and above):
- Connection:keep-alive
You can read the docuemntation here:
- localxpose.io/docs/cli/config.yaml
You can test headers here:
- hackertarget.com/http-header-check/