删除 nginx-route.conf
This commit is contained in:
parent
8280c7de8b
commit
d0a4b1a319
@ -1,57 +0,0 @@
|
||||
user root;
|
||||
worker_processes 1;
|
||||
error_log /var/log/nginx/error.log;
|
||||
pid /run/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name jkwlstv.cn;
|
||||
charset utf-8;
|
||||
|
||||
# 自建服务
|
||||
location /git { return 301 http://jkwlstv.cn:8418; }
|
||||
location /sql { return 301 http://jkwlstv.cn:12222; }
|
||||
location /nps { return 301 http://jkwlstv.cn:38888; }
|
||||
|
||||
# nas
|
||||
location /zxl7788 { return 301 https://zxl7788.quickconnect.cn; }
|
||||
location /dsm { return 301 https://jkwlstv.quickconnect.cn; }
|
||||
|
||||
# cloudflare
|
||||
location /cf { return 301 https://dash.cloudflare.com/d9d91624f42ef57f68bcadd0de6ac666/home/domains; }
|
||||
|
||||
# UCloud
|
||||
location /ucs { return 301 https://console.ucloud.cn/light-server; }
|
||||
location /ufw { return 301 https://console.ucloud.cn/unet/ufirewall/firewall-ls3vpudp; }
|
||||
|
||||
# 兴岩
|
||||
location /xy { return 301 http://a32h099468.wicp.vip:39132/login; }
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri $uri/ @router;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
location @router {
|
||||
rewrite ^.*$ /index.html last;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user