mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-03 16:15:07 +02:00
Don't use shared credentials, back to old secrets ignored files
Helps for open-source and multiple instances projects.
This commit is contained in:
parent
2ba184b442
commit
2f4bee55e1
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -24,6 +24,8 @@
|
||||||
|
|
||||||
# Ignore master key for decrypting credentials and more.
|
# Ignore master key for decrypting credentials and more.
|
||||||
/config/master.key
|
/config/master.key
|
||||||
|
/config/credentials.yml.enc
|
||||||
|
/config/secrets.yml
|
||||||
/config/database.yml
|
/config/database.yml
|
||||||
/config/chexpire.yml
|
/config/chexpire.yml
|
||||||
/public/packs
|
/public/packs
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
V/1ojA4fZ+44jJiaT8duKLAgUSnllv4rRDCw5u/G5GyODS5FDiswY+xZ6taIeuCIQZNoehRz0HOWOcW9th11lo/oPoHsCB8bSB4MNkMjuU3JX3jtkEv80YZINnfXD47YdwkndCRGG1LD0rEVDcvkzCK/6t+sp7mHkJAmfllIij8OYHrQ/SEAagrgYcHVl714npcHda6X8WzTE2cetvBa7rL2HxRZgIEz/U7h8uyBkZHn65xabGHsxg3p0OhUrsoD141tZ9+AGJSP+3WzSl7t8mWODWT+mQB8PhjNlD1U4jmsPHuxz1FoE+wKttk/ugJ/TAfhjd6tKQ95IIZ/3ScvDB5MjZU8suBS9EESY8bjSGEVameWL7EtrOIeIF0hcf/vYfn+QOKdJi0bCkTdXbLphQ6vr6/91K6Z2glp--63QQNO2LKDQrHtFI--9aU0pNnoUMQxyRd3yTtbzw==
|
|
|
@ -11,6 +11,8 @@ Rails.application.configure do
|
||||||
# Do not eager load code on boot.
|
# Do not eager load code on boot.
|
||||||
config.eager_load = false
|
config.eager_load = false
|
||||||
|
|
||||||
|
config.require_master_key = false
|
||||||
|
|
||||||
# Show full error reports.
|
# Show full error reports.
|
||||||
config.consider_all_requests_local = true
|
config.consider_all_requests_local = true
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Rails.application.configure do
|
||||||
|
|
||||||
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
||||||
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
||||||
# config.require_master_key = true
|
config.require_master_key = false
|
||||||
|
|
||||||
# Disable serving static files from the `/public` folder by default since
|
# Disable serving static files from the `/public` folder by default since
|
||||||
# Apache or NGINX already handles this.
|
# Apache or NGINX already handles this.
|
||||||
|
|
|
@ -12,6 +12,8 @@ Rails.application.configure do
|
||||||
# preloads Rails for running tests, you may have to set it to true.
|
# preloads Rails for running tests, you may have to set it to true.
|
||||||
config.eager_load = false
|
config.eager_load = false
|
||||||
|
|
||||||
|
config.require_master_key = false
|
||||||
|
|
||||||
# Configure public file server for tests with Cache-Control for performance.
|
# Configure public file server for tests with Cache-Control for performance.
|
||||||
config.public_file_server.enabled = true
|
config.public_file_server.enabled = true
|
||||||
config.public_file_server.headers = {
|
config.public_file_server.headers = {
|
||||||
|
|
5
config/secrets.example.yml
Normal file
5
config/secrets.example.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
development:
|
||||||
|
secret_key_base: "run rails secret and paste the result here"
|
||||||
|
|
||||||
|
test:
|
||||||
|
secret_key_base: "run rails secret and paste the result here"
|
Loading…
Reference in a new issue