Skip to content

Commit ddb8d90

Browse files
authored
docs(dokku): Clarify env var setting, nginx conf paths
1 parent 599b872 commit ddb8d90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/deployment-dokku.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ ENVIRONMENT="production" \
4343
# ...remaining general environment variables...
4444
```
4545

46+
_providing a `\` at the end of the line allows you to continue the command onto new lines instead of typing all of the variables in one line_
47+
4648
**See [Environment Variables](deployment-environment-variables.md) for all required environment variables**
4749

4850
Once all configuration is set, add Dokku as a remote & run an initial deploy.
@@ -123,7 +125,7 @@ Usually, there's no need to modify the nginx config for the apps. However, we ha
123125

124126
Sidekiq's web UI will throw a 502 Gateway error out of the box on production. To fix this, [increase the nginx buffer size](https://github.com/mperham/sidekiq/issues/3143#issuecomment-248923576).
125127

126-
Create `proxy_buffer.conf` with the following:
128+
Create `/home/dokku/hm/nginx.conf.d/proxy_buffer.conf` with the following:
127129

128130
```
129131
# Fix for Sidekiq web console
@@ -136,7 +138,7 @@ proxy_busy_buffers_size 256k;
136138

137139
Support decently-sized resumes.
138140

139-
Create `upload.conf` with the following:
141+
Create `/home/dokku/hm/nginx.conf.d/upload.conf` with the following:
140142

141143
```
142144
client_max_body_size 2M;
@@ -146,7 +148,7 @@ client_max_body_size 2M;
146148

147149
### MySQL Timezone Tables (Groupdate)
148150

149-
**Update: Looks like dokku-mysql has timezone information by default, so this shouldn't be necessary.**
151+
**Update: Looks like dokku-mysql has timezone information by default, so this shouldn't be necessary anymore.**
150152

151153
In order to support groupdate, timezone tables must be created.
152154

0 commit comments

Comments
 (0)