chore: 并入 iotlcm-onelink-mock 历史到 onelink-mock/(原提交 f398595)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:02 +08:00
64 changed files with 10585 additions and 0 deletions
+59
View File
@@ -0,0 +1,59 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location = /onelink-mock {
return 301 /onelink-mock/;
}
location /onelink-mock/assets/ {
alias /usr/share/nginx/html/assets/;
}
location /onelink-mock/api/ {
rewrite ^/onelink-mock/(.*)$ /$1 break;
proxy_pass http://backend:8080;
}
location /onelink-mock/v5/ {
rewrite ^/onelink-mock/(.*)$ /$1 break;
proxy_pass http://backend:8080;
}
location /onelink-mock/ec/ {
rewrite ^/onelink-mock/(.*)$ /$1 break;
proxy_pass http://backend:8080;
}
location /onelink-mock/healthz {
rewrite ^/onelink-mock/(.*)$ /$1 break;
proxy_pass http://backend:8080;
}
location /onelink-mock/ {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://backend:8080;
}
location /v5/ {
proxy_pass http://backend:8080;
}
location /ec/ {
proxy_pass http://backend:8080;
}
location /healthz {
proxy_pass http://backend:8080;
}
location / {
try_files $uri $uri/ /index.html;
}
}