mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
add --domain option to enable localtunnel servers on subdomains
This commit is contained in:
@@ -29,6 +29,8 @@ bin/server --port 1234
|
||||
|
||||
The localtunnel server is now running and waiting for client requests on port 1234. You will most likely want to set up a reverse proxy to listen on port 80 (or start localtunnel on port 80 directly).
|
||||
|
||||
**NOTE** By default, localtunnel will use subdomains for clients, if you plan to host your localtunnel server itself on a subdomain you will need to use the _--domain_ option and specify the domain name behind which you are hosting localtunnel. (i.e. my-localtunnel-server.example.com)
|
||||
|
||||
#### use your server
|
||||
|
||||
You can now use your domain with the `--host` flag for the `lt` client.
|
||||
|
||||
Reference in New Issue
Block a user