Skip to content

Commit 1cce1a7

Browse files
committed
Rely on dokku/nginx for host checking
1 parent 82b81f5 commit 1cce1a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/application.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ class Application < Rails::Application
4545
port: 587,
4646
authentication: :plain
4747
}
48-
config.hosts << config.web_host if config.web_host
49-
config.hosts << "172.17.0.5" # Allow Dokku health checks
48+
config.hosts.clear # Rely on dokku/nginx for host checking
5049
config.active_storage.service = :local
5150
config.active_storage.variant_processor = :mini_magick
5251
end

0 commit comments

Comments
 (0)