aboutsummaryrefslogtreecommitdiff
path: root/template2/nginx/http
diff options
context:
space:
mode:
Diffstat (limited to 'template2/nginx/http')
-rw-r--r--template2/nginx/http/444.segment3
-rw-r--r--template2/nginx/http/redirect-to-https.segment3
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;
+}