- Notifications
You must be signed in to change notification settings - Fork1k
docs: clarify access URL in install flow#5626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -14,6 +14,25 @@ should not be localhost. | ||||||
If an access URL is not specified, Coder will create | ||||||
a publicly accessible URL to reverse proxy your deployment for simple setup. | ||||||
## Address | ||||||
You can change which port(s) Coder listens on. | ||||||
```sh | ||||||
# Listen on port 80 | ||||||
export CODER_HTTP_ADDRESS=0.0.0.0:80 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Here you are using This is a confusion. | ||||||
# Enable TLS and listen on port 443) | ||||||
export CODER_TLS_ENABLE=true | ||||||
export CODER_TLS_ADDRESS=0.0.0.0:443 | ||||||
## Redirect from HTTP to HTTPS | ||||||
export CODER_TLS_REDIRECT_HTTP=true | ||||||
# Start the Coder server | ||||||
coder server | ||||||
``` | ||||||
## Wildcard access URL | ||||||
`CODER_WILDCARD_ACCESS_URL` is necessary for [port forwarding](../networking/port-forwarding.md#dashboard) | ||||||
@@ -55,7 +74,7 @@ configure the server by setting the following variables in `/etc/coder.d/coder.e | ||||||
CODER_ACCESS_URL=https://coder.example.com | ||||||
# String. Address to serve the API and dashboard. | ||||||
CODER_HTTP_ADDRESS=127.0.0.1:3000 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I'm pretty sure the default is the loopback address, according to the help text. | ||||||
# String. The URL of a PostgreSQL database to connect to. If empty, PostgreSQL binaries | ||||||
# will be downloaded from Maven (https://repo1.maven.org/maven2) and store all | ||||||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -119,7 +119,7 @@ echo_systemd_postinstall() { | ||
cath <<EOF | ||
$1 package has been installed. | ||
To run aCoder server: | ||
# Start Coder now and on reboot | ||
$ sudo systemctl enable --now coder | ||
@@ -128,7 +128,10 @@ Run Coder: | ||
# Or just run the server directly | ||
$ coder server | ||
Default URL: http://127.0.0.1:3000 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I think the Default URL is MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. it is for
bpmct marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
Configuring Coder: https://coder.com/docs/coder-oss/admin/configure | ||
To connect to a Coder deployment: | ||
$ coder login <deployment url> | ||