fix: 调整nginx配置。
This commit is contained in:
parent
46ef2ae382
commit
da1cbfd7fa
@ -64,7 +64,7 @@ services:
|
||||
ports:
|
||||
- 8001:8001
|
||||
volumes:
|
||||
- ./docker/nginx/config/nginx.conf:/usr/local/etc/nginx/nginx.conf
|
||||
- ./docker/nginx/config/nginx.conf:/etc/nginx/nginx.conf
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- VUE_APP_BASE_API=http://127.0.0.1:8002
|
||||
|
@ -1,7 +1,7 @@
|
||||
user www www;
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /data/wwwlogs/error_nginx.log crit;
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
worker_rlimit_nofile 51200;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user