summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-11-12 06:22:45 +0300
committerMaxim Devaev <[email protected]>2021-11-12 06:22:45 +0300
commit9c56f9433253574f098fd2664acf26aba69b05fe (patch)
tree48311d890b84c0aa91e1e63e5479b9dae167651e /testenv
parenteb95257c600133dc1bb9c0b89493844183a2cb74 (diff)
testenv https redirect
Diffstat (limited to 'testenv')
-rw-r--r--testenv/nginx.append.conf8
-rw-r--r--testenv/redirect-to-https.conf1
2 files changed, 1 insertions, 8 deletions
diff --git a/testenv/nginx.append.conf b/testenv/nginx.append.conf
deleted file mode 100644
index 04a33b6c..00000000
--- a/testenv/nginx.append.conf
+++ /dev/null
@@ -1,8 +0,0 @@
- server {
- listen 443 ssl http2;
- server_name localhost;
- include /etc/kvmd/nginx/ssl.conf;
- include /etc/kvmd/nginx/kvmd.ctx-server.conf;
- include /usr/share/kvmd/extras/*/nginx.ctx-server.conf;
- }
-}
diff --git a/testenv/redirect-to-https.conf b/testenv/redirect-to-https.conf
new file mode 100644
index 00000000..6a310968
--- /dev/null
+++ b/testenv/redirect-to-https.conf
@@ -0,0 +1 @@
+return 301 https://$host:4430$request_uri;