Skip to content

Commit 69638af

Browse files
Update environment_protection.md
1 parent 481bc87 commit 69638af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ruby_on_rails/environment_protection.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ With Deploio, configure Basic Auth in the Rails app:
2424
To manage Basic Auth via Rails, use the following commands:
2525

2626
```sh
27-
nctl config set --project {PROJECT_NAME} --application {APPLICATION_NAME} --env=BASIC_AUTH={USERNAME}:{PASSWORD}
27+
nctl update app {APPLICATION_NAME} --project {PROJECT_NAME} --env=BASIC_AUTH=USERNAME}:{PASSWORD}
2828
nctl config set --project {PROJECT_NAME} --application {APPLICATION_NAME} --basic-auth false
29+
2930
```
3031

3132
## ApplicationController Configuration

0 commit comments

Comments
 (0)