mtfosbot_web/nginx.conf

16 lines
288 B
Nginx Configuration File
Raw Normal View History

2018-08-24 12:30:28 +00:00
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
2018-08-24 14:35:14 +00:00
port_in_redirect off;
2018-08-24 12:30:28 +00:00
root /data;
index index.html;
2018-08-24 14:35:14 +00:00
location /web {
2018-08-24 12:30:28 +00:00
alias /data/;
try_files $uri $uri/ /index.html;
}
}