mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 18:11:54 +08:00
Merge pull request #29 from fblaese/ipv6
Make kvmd webui available via IPv6
This commit is contained in:
@@ -38,12 +38,14 @@ http {
|
|||||||
|
|
||||||
#PROD server {
|
#PROD server {
|
||||||
#PROD listen 80;
|
#PROD listen 80;
|
||||||
|
#PROD listen [::]:80;
|
||||||
#PROD server_name localhost;
|
#PROD server_name localhost;
|
||||||
#PROD return 301 https://$host$request_uri;
|
#PROD return 301 https://$host$request_uri;
|
||||||
#PROD }
|
#PROD }
|
||||||
|
|
||||||
server {
|
server {
|
||||||
#PROD listen 443 ssl http2;
|
#PROD listen 443 ssl http2;
|
||||||
|
#PROD listen [::]:443 ssl http2;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
#PROD include /etc/kvmd/nginx/ssl.conf;
|
#PROD include /etc/kvmd/nginx/ssl.conf;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user