Adding some includes
This commit is contained in:
10
roles/nginx-proxy/templates/force-ssl.conf
Normal file
10
roles/nginx-proxy/templates/force-ssl.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
set $test "";
|
||||
if ($scheme = "http") {
|
||||
set $test "H";
|
||||
}
|
||||
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
|
||||
set $test "${test}T";
|
||||
}
|
||||
if ($test = H) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
Reference in New Issue
Block a user