Skip to content

Commit

Permalink
Merge pull request MalcolmRobb#66 from jwbernin/master
Browse files Browse the repository at this point in the history
Add commented-out HTTPS configuration section
  • Loading branch information
mutability committed Aug 3, 2020
2 parents 92889d3 + ae12414 commit 5b964f6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions debian/lighttpd/89-dump1090-fa.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,32 @@ server.modules += ( "mod_setenv" )
$HTTP["url"] =~ "^/dump1090-fa/data/.*\.json$" {
setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
}

# Uncomment this section to enable SSL traffic (HTTPS) - especially useful
# for .dev domains
## Listen on 8443 for SSL connections
#server.modules += ( "mod_openssl" )
#$HTTP["host"] == "piaware.example.com" {
# $SERVER["socket"] == ":8443" {
# ssl.engine = "enable"
# ssl.pemfile = "/etc/ssl/certs/combined.pem"
# ssl.ca-file = "/etc/ssl/certs/fullchain.cer"
# ssl.honor-cipher-order = "enable"
# ssl.cipher-list = "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"
# ssl.use-sslv2 = "disable"
# ssl.use-sslv3 = "disable"
#
# alias.url += (
# "/data/" => "/run/dump1090-fa/",
# "/" => "/usr/share/dump1090-fa/html/"
# )
# }
#}
#
## Redirect HTTP to HTTPS
#$HTTP["scheme"] == "http" {
# $HTTP["host"] =~ ".*" {
# url.redirect = (".*" => "https://%0$0")
# }
#}

0 comments on commit 5b964f6

Please sign in to comment.