-
Notifications
You must be signed in to change notification settings - Fork 887
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
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 | ||||||
|
||||||
# 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_ADDRESS=127.0.0.1:3000 | ||||||
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. | ||
|
||
Run Coder: | ||
To run a Coder 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 | ||
|
||
Use Coder: | ||
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 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 resolved
Hide resolved
|
||
Configuring Coder: https://coder.com/docs/coder-oss/admin/configure | ||
|
||
To connect to a Coder deployment: | ||
|
||
$ coder login <deployment url> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you are using
0.0.0.0:80
but in L77 you are using127.0.0.1:3000
This is a confusion.