telegram_bots/nginx.conf

21 lines
467 B
Nginx Configuration File
Raw Normal View History

2019-01-11 19:16:01 +00:00
server {
listen 80;
server_name bots.bakatrouble.pw;
access_log /srv/apps/bots/logs/nginx.access;
error_log /srv/apps/bots/logs/nginx.error;
location /static {
alias /srv/apps/bots/public/static;
}
location /uploads {
alias /srv/apps/bots/public/uploads;
}
location / {
include uwsgi_params;
uwsgi_pass unix:///tmp/bots.sock;
}
}