DAC-Of-Purdue / iot-dashboard

A dashboard repo of IoT in digital agriculture
http://66.253.158.154:8005/
0 stars 0 forks source link

Change domain name #25

Open tame0001 opened 10 months ago

tame0001 commented 10 months ago

I config the domain name http://dac.thirawattam.com/ to forward to http://66.253.158.154:8005/ which is the IP for the server and Nginx is listening to port 8005. Below is the Nginx config

server {
  listen 8005;
  root /srv/dac_frontend;
  server_name dac.thirawattam.com www.dac.thirawattam.com;
  location / {
    try_files $uri $uri/ /index.html;
  }
}

The URL showing in the browser is http://66.253.158.154:8005/. I want to it to show http://dac.thirawattam.com/