Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1787

Web app not accessible after DNS being configurated

$
0
0

I have a web app running in docker on an Azure server. Previously it was accessible via https://servername:4200, since the company hasn't configurated the DNS for me.

Today, the IT inform me that DNS has been setup, so I deploy it again but when I try to visit the given url via https, I get xx.yy.com’s server IP address could not be found error. But https://servername:4200 is still accessible.

Assuming that IT configurates the DNS correctly, I am wondering if I did something wrong.

The Nginx.conf:

worker_processes 1;events {    worker_connections 1024;}http {    include       /etc/nginx/mime.types;    default_type  application/octet-stream;    sendfile        on;    keepalive_timeout  65;    server {        listen 80;        server_name azeu-server.com;        location / {            root   /usr/share/nginx/html;            index  index.html index.htm;            try_files $uri $uri/ /index.html;        }        location /api/ {            proxy_pass   http://iqc-api-container_v4:5000/api/;        }        listen 443 ssl;        server_name azeu-server.com;        ssl_certificate /etc/nginx/certs/server.crt;        ssl_certificate_key /etc/nginx/certs/server.key;        ssl_protocols TLSv1.2 TLSv1.3;        ssl_ciphers HIGH:!aNULL:!MD5;        error_page 404 /404.html;        location = /404.html {        }        error_page 500 502 503 504 /50x.html;        location = /50x.html {        }    }}

The given url is https://xx.yy.com. The port of frontend container is 80/tcp, 0.0.0.0:4200->443/tcp, :::4200->443/tcp. The frontend container contains Nginx and web app.

Can someone tell me if I did something wrong in Nginx? If not, what could be the potential error in DNS so that I can ask IT.


Viewing all articles
Browse latest Browse all 1787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>