-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
server { | ||
listen 80; | ||
server_name mixed-active.badssl.com; | ||
server_name mixed-script.badssl.com; | ||
|
||
return 301 https://$server_name$request_uri; | ||
} | ||
|
||
server { | ||
listen 443; | ||
server_name mixed-active.badssl.com; | ||
server_name mixed-script.badssl.com; | ||
|
||
include /var/www/badssl/nginx-includes/wildcard.normal.conf; | ||
include /var/www/badssl/nginx-includes/tls-defaults.conf; | ||
include /var/www/badssl/common/common.conf; | ||
|
||
root /var/www/badssl/domains/misc/mixed-active.badssl.com; | ||
root /var/www/badssl/domains/misc/mixed-script.badssl.com; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
(function() { | ||
// Change the background to red | ||
document.querySelector("html").style.backgroundColor = "#f00"; | ||
document.querySelector("body").style.backgroundColor = "#f00"; | ||
document.querySelector("html").style.backgroundColor = "red"; | ||
document.querySelector("body").style.backgroundColor = "red"; | ||
|
||
// Write text to the page | ||
document.getElementById("mixed").innerHTML = "[Active mixed content loaded]"; | ||
document.getElementById("footer").innerHTML = "This page has run active mixed content<br>(a script from an insecure URL)."; | ||
})(); |