mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
27 lines
507 B
Plaintext
27 lines
507 B
Plaintext
location /public {
|
|
root /data;
|
|
}
|
|
|
|
location /api {
|
|
include api_proxy.conf;
|
|
}
|
|
|
|
location /api/live2d {
|
|
proxy_pass http://oj-forum/api/live2d;
|
|
index index.html index.htm index.php;
|
|
}
|
|
|
|
location /admin {
|
|
root /app/dist/admin;
|
|
try_files $uri $uri/ /index.html =404;
|
|
}
|
|
|
|
location /.well-known {
|
|
alias /data/ssl/.well-known;
|
|
}
|
|
|
|
location / {
|
|
root /app/dist;
|
|
try_files $uri $uri/ /index.html =404;
|
|
}
|