diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-05-12 14:31:05 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-05-12 14:31:05 +0100 |
commit | 966a1a754d7f4f055944212c5523798a7795402f (patch) | |
tree | 5faeabec792f7efdaa44b498a0669200ff09ece1 /perllib | |
parent | fb22b9fee51148b7144b28908a30108913a94587 (diff) |
[Bromley] Add secure-proxy line.
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/App.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 1664f0f30..13617a3c0 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -95,6 +95,7 @@ __PACKAGE__->setup(); after 'prepare_headers' => sub { my $self = shift; $self->req->secure( 1 ) if $self->config->{BASE_URL} eq 'https://www.zueriwieneu.ch'; + $self->req->secure( 1 ) if $self->config->{BASE_URL} eq 'http://www.fixmystreet.com' && $self->req->headers->header('Host') eq 'fix.bromley.gov.uk'; }; # set up DB handle for old code |