mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
testenv https redirect
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
1
testenv/redirect-to-https.conf
Normal file
1
testenv/redirect-to-https.conf
Normal file
@@ -0,0 +1 @@
|
||||
return 301 https://$host:4430$request_uri;
|
||||
Reference in New Issue
Block a user