aboutsummaryrefslogtreecommitdiff
path: root/template2/nginx/http/redirect-to-https.segment
diff options
context:
space:
mode:
Diffstat (limited to 'template2/nginx/http/redirect-to-https.segment')
-rw-r--r--template2/nginx/http/redirect-to-https.segment3
1 files changed, 3 insertions, 0 deletions
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;
+}