projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15107: Merge branch 'master' into 15107-rails-bad-redirect
[arvados.git]
/
services
/
api
/
config
/
application.rb
diff --git
a/services/api/config/application.rb
b/services/api/config/application.rb
index 9a4270ad9df4384d88c97cf100ae83790a1a35ba..f211ec9e0cde5c67160bda1bde97e20cdb7861a8 100644
(file)
--- a/
services/api/config/application.rb
+++ b/
services/api/config/application.rb
@@
-76,6
+76,11
@@
module Server
config.action_dispatch.perform_deep_munge = false
config.action_dispatch.perform_deep_munge = false
+ # force_ssl's redirect-to-https feature doesn't work when the
+ # client supplies a port number, and prevents arvados-controller
+ # from connecting to Rails internally via plain http.
+ config.ssl_options = {redirect: false}
+
I18n.enforce_available_locales = false
# Before using the filesystem backend for Rails.cache, check
I18n.enforce_available_locales = false
# Before using the filesystem backend for Rails.cache, check