feat:重构模块
This commit is contained in:
22
nginx.conf
Normal file
22
nginx.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
server_name _;
|
||||
|
||||
location /blog-admin/ {
|
||||
alias /usr/share/nginx/html/;
|
||||
try_files $uri $uri/ /blog-admin/index.html;
|
||||
}
|
||||
|
||||
location /blog-api/ {
|
||||
proxy_pass http://blog-service:8082/;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user