You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
1 month ago
|
server {
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
|
||
|
root /data/wwwroot/arpgpatch/;
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ =404;
|
||
|
}
|
||
|
|
||
|
location /android {
|
||
|
default_type application/octet-stream;
|
||
|
alias /data/wwwroot/arpgpatch/android;
|
||
|
autoindex off;
|
||
|
autoindex_exact_size off;
|
||
|
}
|
||
|
|
||
|
location /download {
|
||
|
alias /data/wwwroot/arpgbuildapk;
|
||
|
autoindex on;
|
||
|
autoindex_exact_size off;
|
||
|
autoindex_localtime on;
|
||
|
charset utf-8,gbk;
|
||
|
}
|
||
|
location ~ ^/data/wwwroot/arpgbuildapk/(.*)$ {
|
||
|
add_header Content-Disposition "attachment;
|
||
|
filename=$1";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 56318;
|
||
|
listen [::]:56318;
|
||
|
location ^~ /api/ {
|
||
|
proxy_pass http://127.0.0.1:55623;
|
||
|
}
|
||
|
|
||
|
location / {
|
||
|
ssi on;
|
||
|
ssi_silent_errors on;
|
||
|
ssi_types text/shtml;
|
||
|
root /data/wwwroot/oss/;
|
||
|
}
|
||
|
}
|
||
|
|