aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-05-12 14:31:05 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-05-12 14:31:05 +0100
commit966a1a754d7f4f055944212c5523798a7795402f (patch)
tree5faeabec792f7efdaa44b498a0669200ff09ece1 /perllib
parentfb22b9fee51148b7144b28908a30108913a94587 (diff)
[Bromley] Add secure-proxy line.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App.pm1
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