微服务配置(nacos)
server {
listen 801;
server_name 127.0.0.1;
client_max_body_size 10000000M;
client_body_buffer_size 1280000000k;
add_header Access-Control-Allow-Origin *;
location / {
root /home/aqmh/dist;
index index.html;
}
location /jwt/ {
proxy_pass http://127.0.0.1:8768/jwt/;
}
location /api/ {
proxy_pass http://127.0.0.1:8768/api/;
proxy_read_timeout 3600;
}
location /nacos/ {
proxy_pass http://127.0.0.1:8848/nacos/;
}
location /oss/ {
proxy_pass http://127.0.0.1:9001;
}
location /job/ {
proxy_pass http://127.0.0.1:8181/job/;
}
}