mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 02:13:41 +08:00
warns sysadmin to rebake all the posts
when changing the hostname
This commit is contained in:
parent
236356bfe2
commit
1e2f151860
|
@ -6,7 +6,9 @@ development:
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
host_names:
|
host_names:
|
||||||
# /!\ Make sure you *also* restart sidekiq if you change this setting /!\
|
### If you change this setting you will need to
|
||||||
|
### - restart sidekiq if you change this setting
|
||||||
|
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`
|
||||||
- "localhost"
|
- "localhost"
|
||||||
|
|
||||||
# Warning: The database defined as "test" will be erased and
|
# Warning: The database defined as "test" will be erased and
|
||||||
|
@ -30,7 +32,9 @@ production:
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
host_names:
|
host_names:
|
||||||
# /!\ Make sure you *also* restart sidekiq if you change this setting /!\
|
### If you change this setting you will need to
|
||||||
|
### - restart sidekiq if you change this setting
|
||||||
|
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`
|
||||||
- production.localhost # Update this to be the domain of your production site
|
- production.localhost # Update this to be the domain of your production site
|
||||||
|
|
||||||
profile:
|
profile:
|
||||||
|
|
|
@ -8,7 +8,9 @@ production:
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
# db_id: 0 # database ID if hosting multiple sites
|
# db_id: 0 # database ID if hosting multiple sites
|
||||||
host_names:
|
host_names:
|
||||||
# /!\ Make sure you *also* restart sidekiq if you change this setting /!\
|
### If you change this setting you will need to
|
||||||
|
### - restart sidekiq if you change this setting
|
||||||
|
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`
|
||||||
- production.localhost # Update this to be the domain of your production site
|
- production.localhost # Update this to be the domain of your production site
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
|
@ -7,6 +7,9 @@ mlp:
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
db_id: 1 # ensure db_id is unique for each site
|
db_id: 1 # ensure db_id is unique for each site
|
||||||
|
### If you change this setting you will need to
|
||||||
|
### - restart sidekiq if you change this setting
|
||||||
|
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`
|
||||||
host_names:
|
host_names:
|
||||||
- discourse.equestria.com
|
- discourse.equestria.com
|
||||||
- discourse.equestria.internal
|
- discourse.equestria.internal
|
||||||
|
@ -20,7 +23,8 @@ drwho:
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
db_id: # ensure db_id is unique for each site
|
db_id: # ensure db_id is unique for each site
|
||||||
|
### If you change this setting you will need to
|
||||||
|
### - restart sidekiq if you change this setting
|
||||||
|
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`
|
||||||
host_names:
|
host_names:
|
||||||
- discuss.tardis.gallifrey
|
- discuss.tardis.gallifrey
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user