mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Upgrading SSL certs to support HSTS and FS.
This commit is contained in:
parent
54c0789d37
commit
8b782cb47e
2 changed files with 6 additions and 2 deletions
|
@ -654,7 +654,8 @@
|
|||
// if (images) [activityItems addObject:images];
|
||||
NSMutableArray *appActivities = [[NSMutableArray alloc] init];
|
||||
if (url) [appActivities addObject:[[TUSafariActivity alloc] init]];
|
||||
if (url) [appActivities addObject:[[ARChromeActivity alloc] initWithCallbackURL:[NSURL URLWithString:@"newsblur://"]]];
|
||||
if (url) [appActivities addObject:[[ARChromeActivity alloc]
|
||||
initWithCallbackURL:[NSURL URLWithString:@"newsblur://"]]];
|
||||
|
||||
UIActivityViewController *activityViewController = [[UIActivityViewController alloc]
|
||||
initWithActivityItems:activityItems
|
||||
|
|
|
@ -32,8 +32,11 @@ defaults
|
|||
|
||||
frontend public
|
||||
bind :80
|
||||
bind :443 ssl crt newsblur.pem
|
||||
bind :443 ssl crt newsblur.pem no-tls-tickets ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-RSA-RC4-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES128-SHA:AES256-SHA256:AES256-SHA:RC4-SHA no-sslv3
|
||||
acl secure dst_port eq 443
|
||||
rspadd Strict-Transport-Security:\ max-age=31536000;\ includeSubDomains
|
||||
option http-server-close
|
||||
|
||||
# Redirect all HTTP traffic to HTTPS
|
||||
# redirect scheme https if !{ ssl_fc }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue