summaryrefslogtreecommitdiff
path: root/testenv/redirect-to-https.conf
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-10-19 00:09:33 +0300
committerMaxim Devaev <[email protected]>2022-10-19 00:09:33 +0300
commitbd03a487a991d3352ed6be7c4e05d05744f110fe (patch)
tree5beebeebfce8499a25d8e279b5e8850e6eb21db4 /testenv/redirect-to-https.conf
parent3d109453c6def4c30b32e360668693f98339798e (diff)
don't redirect certbot in testenv
Diffstat (limited to 'testenv/redirect-to-https.conf')
-rw-r--r--testenv/redirect-to-https.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/testenv/redirect-to-https.conf b/testenv/redirect-to-https.conf
index 6a310968..11796e29 100644
--- a/testenv/redirect-to-https.conf
+++ b/testenv/redirect-to-https.conf
@@ -1 +1,3 @@
-return 301 https://$host:4430$request_uri;
+location / {
+ return 301 https://$host:4430$request_uri;
+}