0
我想在域上使用ipv4,爲子域使用ipv6。我已經創下了一個紀錄@和WWW IPv4和IPv6的 例如AAAA記錄試驗的example.com這種情況下,我的域名,我的子域trial.example.com子域上的IPV6
我現在可以訪問我的域名,而不是子域。對於我使用centminmod和主機做的信息,我的名稱是來自namecheap的註冊服務商。我已經改變NGINX_IPV =「Y」 ,在這裏我代表子
server {
listen 80;
server_name trial.example.com;
listen [2604:180:1::fd2c:e4xx]:80 ipv6only=on;
return 301 $scheme://trial.example.com$request_uri;
access_log /home/nginx/domains/trial.example.com/log/access.log combined buffer=256k flush=60m;
error_log /home/nginx/domains/trial.example.com/log/error.log;
root /home/nginx/domains/trial.example.com/public;
location ~ (?:^|/)\. {
deny all;
}
location/{
}
include /usr/local/nginx/conf/staticfiles.conf;
include /usr/local/nginx/conf/php.conf;
include /usr/local/nginx/conf/drop.conf;
include /usr/local/nginx/conf/vts_server.conf;
}
虛擬主機的任何建議如何解決這一問題?我錯過了什麼嗎?任何幫助將不勝感激。謝謝
你有什麼問題? –