You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
467 B
21 lines
467 B
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;
|
|
}
|
|
}
|