Revert "allow SSLPROXY header again"
This reverts commit e8d1fa0056.
SSLPROXY should be handled by using Plack::Middleware::ReverseProxy and
setting the X-Forwarded-Proto http header to "https"
This commit is contained in:
parent
e8d1fa0056
commit
199e2240a7
1 changed files with 0 additions and 16 deletions
|
|
@ -144,22 +144,6 @@ sub requestNotViewed {
|
|||
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 secure ( )
|
||||
|
||||
Returns true if this is a secure connection. The connection is secure if it's
|
||||
https or if SSLPROXY is true
|
||||
|
||||
=cut
|
||||
|
||||
sub secure {
|
||||
my ( $self ) = @_;
|
||||
if ( $self->header('SSLPROXY') ) {
|
||||
return 1;
|
||||
}
|
||||
return $self->SUPER::secure;
|
||||
}
|
||||
|
||||
# This is only temporary
|
||||
sub TRACE {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue