Skip to content

Commit 7330cc5

Browse files
committed
Issue geerlingguy#83: Add documentation to the https test config. [ci skip]
1 parent 3b6ec61 commit 7330cc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

https-self-signed/provisioning/templates/https.test.conf.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# HTTPS Test server configuration.
2+
3+
# Redirect HTTP traffic to HTTPS.
24
server {
35
listen 80 default_server;
46
server_name _;
57
index index.html;
68
return 301 https://$host$request_uri;
79
}
810

11+
# Serve HTTPS traffic using the self-signed certificate created by Ansible.
912
server {
1013
listen 443 ssl default_server;
1114
server_name {{ server_hostname }};

0 commit comments

Comments
 (0)