diff options
author | Christopher Baines <mail@cbaines.net> | 2018-05-29 19:32:25 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-05-30 20:17:50 +0100 |
commit | 24caa85217870df55f5f2198c547941f23bd98d8 (patch) | |
tree | 02d6bbb8424cbe5a9d16e3f8d2cb72e8a2b42c97 | |
parent | 40e2d6f41c2b49a3077afe9fe066895d558f595e (diff) | |
download | govuk-mini-environment-admin-24caa85217870df55f5f2198c547941f23bd98d8.tar govuk-mini-environment-admin-24caa85217870df55f5f2198c547941f23bd98d8.tar.gz |
Use proper error pages for mini environments
-rw-r--r-- | app/models/backends/terraform_aws.rb | 3 | ||||
-rw-r--r-- | app/models/backends/terraform_libvirt.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/models/backends/terraform_aws.rb b/app/models/backends/terraform_aws.rb index f229c72..c8c9bac 100644 --- a/app/models/backends/terraform_aws.rb +++ b/app/models/backends/terraform_aws.rb @@ -64,7 +64,8 @@ class Backends::TerraformAws < ApplicationRecord http_ports_mode: 'alternative', read_bundle_install_input_as_tar_archive: true, signon_instance_name: slug, - admin_environment_label: mini_environment.name + admin_environment_label: mini_environment.name, + use_error_pages: 'true' }, run_remotely_on_host: "ubuntu@guix-daemon.#{domain}" ) diff --git a/app/models/backends/terraform_libvirt.rb b/app/models/backends/terraform_libvirt.rb index 86dd089..eabb8e4 100644 --- a/app/models/backends/terraform_libvirt.rb +++ b/app/models/backends/terraform_libvirt.rb @@ -61,7 +61,8 @@ class Backends::TerraformLibvirt < ApplicationRecord http_ports_mode: 'standard', host_name: "#{slug}.#{domain}", admin_environment_label: mini_environment.name, - signon_instance_name: slug + signon_instance_name: slug, + use_error_pages: 'true' } ) end |