OnlineJudge/deploy/nginx/locations.conf
Harry-zklcdc 7e848027d9 fix bugs
2019-09-08 00:25:09 +08:00

27 lines
405 B
Plaintext

location /public {
root /data;
}
location /api/live2d {
root /var/www/html;
index index.php index.html index.htm;
}
location /api {
include api_proxy.conf;
}
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;
}