server {
listen 80;
server_name 124.135.28.194:28890; //这是配置外网地址
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
try_files $uri $uri/ @router; /404了就添加这个
index index.html; /404了就添加这个
}
location @router {
rewrite ^.*$ /index.html last; //404了就添加这个
}