@@ -15,7 +15,8 @@ services:
- 8085:80
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- - ./nginx/www:/usr/share/nginx/html
+ # - ./nginx/www:/usr/share/nginx/html
+ - ./nginx/www:/root/www/html
depends_on:
- cr-svc
@@ -2,12 +2,17 @@ server {
listen 80;
listen [::]:80;
server_name localhost;
- client_max_body_size 2048m;
+ client_max_body_size 8192m;
# error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# root /usr/share/nginx/html;
- # }
+ # }
+
+ location /admin {
+ root /root/www/html;
+ index index.html;
+ }
# 用户
location /user/ {