File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
actionmailbox/test/dummy/config/environments
actiontext/test/dummy/config/environments
activestorage/test/dummy/config/environments
railties/lib/rails/generators/rails/app/templates/config/environments Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 20
20
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
21
21
# config.require_master_key = true
22
22
23
- # Enable static file serving from the `/ public` folder (turn off if using NGINX/Apache for it) .
24
- config . public_file_server . enabled = true
23
+ # Disable serving static files from ` public/`, relying on NGINX/Apache to do so instead .
24
+ # config.public_file_server.enabled = false
25
25
26
26
# Compress CSS using a preprocessor.
27
27
# config.assets.css_compressor = :sass
Original file line number Diff line number Diff line change 20
20
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
21
21
# config.require_master_key = true
22
22
23
- # Enable static file serving from the `/ public` folder (turn off if using NGINX/Apache for it) .
24
- config . public_file_server . enabled = true
23
+ # Disable serving static files from ` public/`, relying on NGINX/Apache to do so instead .
24
+ # config.public_file_server.enabled = false
25
25
26
26
# Compress CSS using a preprocessor.
27
27
# config.assets.css_compressor = :sass
Original file line number Diff line number Diff line change 20
20
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
21
21
# config.require_master_key = true
22
22
23
- # Enable static file serving from the `/ public` folder (turn off if using NGINX/Apache for it) .
24
- config . public_file_server . enabled = true
23
+ # Disable serving static files from ` public/`, relying on NGINX/Apache to do so instead .
24
+ # config.public_file_server.enabled = false
25
25
26
26
# Compress CSS using a preprocessor.
27
27
# config.assets.css_compressor = :sass
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ Rails.application.configure do
22
22
# key such as config/credentials/production.key. This key is used to decrypt credentials (and other encrypted files).
23
23
# config.require_master_key = true
24
24
25
- # Enable static file serving from the `/ public` folder (turn off if using NGINX/Apache for it) .
26
- config.public_file_server.enabled = true
25
+ # Disable serving static files from ` public/`, relying on NGINX/Apache to do so instead .
26
+ # config.public_file_server.enabled = false
27
27
28
28
<%- unless skip_sprockets? -%>
29
29
# Compress CSS using a preprocessor.
You can’t perform that action at this time.
0 commit comments