fix: 调整nginx配置。

This commit is contained in:
YuleiLan 2020-11-13 17:41:21 +08:00
parent 46ef2ae382
commit da1cbfd7fa
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ services:
ports: ports:
- 8001:8001 - 8001:8001
volumes: volumes:
- ./docker/nginx/config/nginx.conf:/usr/local/etc/nginx/nginx.conf - ./docker/nginx/config/nginx.conf:/etc/nginx/nginx.conf
environment: environment:
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
- VUE_APP_BASE_API=http://127.0.0.1:8002 - VUE_APP_BASE_API=http://127.0.0.1:8002

View File

@ -1,7 +1,7 @@
user www www; user nginx;
worker_processes auto; worker_processes auto;
error_log /data/wwwlogs/error_nginx.log crit; error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid; pid /var/run/nginx.pid;
worker_rlimit_nofile 51200; worker_rlimit_nofile 51200;