summaryrefslogtreecommitdiff
path: root/configs/nginx/redirect-to-https.conf
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-11-12 01:49:51 +0300
committerMaxim Devaev <[email protected]>2021-11-12 01:49:51 +0300
commit8e60b8428814ffc8092a749a3d830d1f46309cae (patch)
tree00dac91530ad8c7029214285f1b2dd58077b8079 /configs/nginx/redirect-to-https.conf
parentaa2de59ff5c500fa8617af5f2c26309e065bb8df (diff)
listen configs
Diffstat (limited to 'configs/nginx/redirect-to-https.conf')
-rw-r--r--configs/nginx/redirect-to-https.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/nginx/redirect-to-https.conf b/configs/nginx/redirect-to-https.conf
new file mode 100644
index 00000000..7cf185dd
--- /dev/null
+++ b/configs/nginx/redirect-to-https.conf
@@ -0,0 +1 @@
+return 301 https://$host$request_uri;