我在这里有一个问题,我是新的,我一直在看一些教程,我看到在我的configuration一切正常,但我不能访问我的网页与子域。
以下是SSL LABS的SSL域名报告
在这里我有configuration文件
这是域的一个
#////////MOBILE////// server { listen 80; server_name just4bettors.mobi; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name just4bettors.mobi; include ssl.conf; root /home/c0pt/capilleira/capilleiraclickandgamblemobile/www; location / { index index.html index.htm; } include protect_system_files.conf; include expires.conf; }
然后在一个单独的块中,我有2个子域
#//////BACK END////// server { listen 80; server_name backend.just4bettors.mobi; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name backend.just4bettors.mobi; include ssl.conf; location / { include security.conf; include backend_proxy_pass.conf; } include protect_system_files.conf; } #////////DESKTOP////// server { listen 80; server_name desktop.just4bettors.mobi; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name desktop.just4bettors.mobi; include ssl.conf; root /home/c0pt/capilleira/capilleiraclickandgambleweb/dist; location / { index index.html index.htm; } include protect_system_files.conf; include expires.conf; }
正如你所看到的,我有一个子域中的后端。 在这一刻,我可以看到域just4bettors.mobi,但是一旦我尝试进入,我收到一个错误OPTIONS http://localhost:1337/auth/login net::ERR_CONNECTION_REFUSED ,看看我的域瞄准到后端子域,如果我试图进入desktop.just4bettors.mobi子域,我在浏览器中得到这个This webpage is not available ,这在浏览器控制台中GET https://desktop.just4bettors.mobi/ net::ERR_NAME_NOT_RESOLVED
所以,我在这里想念什么?
桌面子域似乎没有在DNS中设置。 也不是后端。
您需要为您的DNS中的这些子域设置Alogging,这似乎是ultradns.net