Browse Source

modified nginx settings

xiaoct 7 years ago
parent
commit
900229b6f5
2 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile
  2. 0 0
      default

+ 1 - 1
Dockerfile

@@ -11,6 +11,6 @@ RUN apt-get update
 RUN apt-get install -y nodejs nginx npm
 RUN rm -v /etc/nginx/nginx.conf
 RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
-ADD nginx.conf /etc/nginx
+ADD default /etc/nginx/sites-available
 EXPOSE 80
 CMD service nginx start

+ 0 - 0
nginx.conf → default