1
0
mirror of https://github.com/geerlingguy/ansible-for-devops.git synced 2024-05-19 06:50:03 +00:00

Issue #83: Add documentation to the https test config. [ci skip]

This commit is contained in:
Jeff Geerling
2017-12-31 20:54:01 -06:00
parent 3b6ec614aa
commit 7330cc53e1

View File

@@ -1,4 +1,6 @@
# HTTPS Test server configuration.
# Redirect HTTP traffic to HTTPS.
server {
listen 80 default_server;
server_name _;
@@ -6,6 +8,7 @@ server {
return 301 https://$host$request_uri;
}
# Serve HTTPS traffic using the self-signed certificate created by Ansible.
server {
listen 443 ssl default_server;
server_name {{ server_hostname }};