Force set omniauth full_host for redirection
This commit is contained in:
@@ -46,7 +46,8 @@ Qwaiter::Application.configure do
|
||||
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
||||
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
config.force_ssl = true
|
||||
#NOTE: DO NOT ACTIVATE force_ssl, this causes an infinite redirect loop and is handled by nginx
|
||||
#config.force_ssl = true
|
||||
|
||||
# See everything in the log (default is :info)
|
||||
# config.log_level = :debug
|
||||
|
||||
Reference in New Issue
Block a user