From f3b12c1bdf01fe9e5193b95216bf75f46cc65da8 Mon Sep 17 00:00:00 2001 From: pnoker Date: Sun, 22 Mar 2020 17:29:06 +0800 Subject: [PATCH] host --- dc3/docker-compose.yml | 2 +- dc3/nginx/conf.d/default.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dc3/docker-compose.yml b/dc3/docker-compose.yml index 4cc9b15..2b9738e 100644 --- a/dc3/docker-compose.yml +++ b/dc3/docker-compose.yml @@ -8,7 +8,7 @@ services: image: pnoker/dc3-web:3.0 restart: always ports: - - 8000:80 + - 8080:80 - 443:443 container_name: dc3-web hostname: dc3-web diff --git a/dc3/nginx/conf.d/default.conf b/dc3/nginx/conf.d/default.conf index 0c5ba85..635aaad 100644 --- a/dc3/nginx/conf.d/default.conf +++ b/dc3/nginx/conf.d/default.conf @@ -1,6 +1,6 @@ server { listen 80; - server_name dc3-web localhost; + server_name dc3.com; location / { root /usr/share/nginx/html;