Skip to content

Commit 4e2e8b4

Browse files
authored
Merge pull request #1478 from fermyon/spin-up-listen
Document spin up --listen
2 parents ccb0513 + 83dd02f commit 4e2e8b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/spin/v3/http-trigger.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,11 @@ When exposing HTTP triggers using HTTPS you must provide `spin up` with a TLS ce
498498

499499
### Trigger Options
500500

501-
The `spin up` command's `--tls-cert` and `--tls-key` trigger options provide a way for you to specify both a TLS certificate and a private key (whilst running the `spin up` command).
501+
The `spin up` command accepts some HTTP-trigger-specific options:
502502

503-
The `--tls-cert` option specifies the path to the TLS certificate to use for HTTPS, if this is not set, normal HTTP will be used. The certificate should be in PEM format.
503+
The `--listen` option sets the local IP and port that `spin up` should listen to for requests. By default, it listens to `localhost:3000`.
504504

505-
The `--tls-key` option specifies the path to the private key to use for HTTPS, if this is not set, normal HTTP will be used. The key should be in PKCS#8 format.
505+
The `--tls-cert` and `--tls-key` options provide a way for you to configure a TLS certificate. If they are not set, plaintext HTTP will be used. The `--tls-cert` option specifies the path to the TLS certificate to use for HTTPS. The certificate should be in PEM format. The `--tls-key` option specifies the path to the private key to use for HTTPS. The key should be in PKCS#8 format.
506506

507507
### Environment Variables
508508

0 commit comments

Comments
 (0)