mtfosbot_web/nginx.conf
2018-08-24 22:35:14 +08:00

16 lines
288 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
port_in_redirect off;
root /data;
index index.html;
location /web {
alias /data/;
try_files $uri $uri/ /index.html;
}
}