diff options
Diffstat (limited to 'template2/nginx/http')
-rw-r--r-- | template2/nginx/http/444.segment | 3 | ||||
-rw-r--r-- | template2/nginx/http/redirect-to-https.segment | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/template2/nginx/http/444.segment b/template2/nginx/http/444.segment new file mode 100644 index 0000000..fe490d4 --- /dev/null +++ b/template2/nginx/http/444.segment @@ -0,0 +1,3 @@ +location / { + return 444; +} diff --git a/template2/nginx/http/redirect-to-https.segment b/template2/nginx/http/redirect-to-https.segment new file mode 100644 index 0000000..56d095d --- /dev/null +++ b/template2/nginx/http/redirect-to-https.segment @@ -0,0 +1,3 @@ +location / { + return 301 https://$host$request_uri; +} |