问题描述
我的目的是使用 Nginx 作为另一个应用程序的代理,我得到了上面的错误
我的 Nginx 配置如下所示,我已经取消了默认的 Nginx 配置的链接,但仍然出现错误:DNS_PROBE_FINISHED_NXDOMAIN
server {
listen 80 default_server ;
server_name www.app.staging.bla.blabla;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name www.app.staging.bla.blabla;
ssl_certificate /etc/Nginx/ssl/pivot-staging.crt;
ssl_certificate_key /etc/Nginx/ssl/pivot-staging.key;
location / {
root /usr/share/Nginx/html;
index index.html index.htm;
}
}
```
i use Nginx as a VM instance on Google cloud and i have two fw rules (allow http and allow ssh access)..
and the OS is ubuntu 16.04
Thanks in advance !
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)