initial commit
This commit is contained in:
commit
eb2ec18ad9
6 changed files with 357 additions and 0 deletions
19
data/config/nginx-templates/default.conf.template
Normal file
19
data/config/nginx-templates/default.conf.template
Normal file
|
@ -0,0 +1,19 @@
|
|||
server {
|
||||
listen 8080;
|
||||
server_name default_server;
|
||||
|
||||
root /var/www;
|
||||
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass bitpoll:3008;
|
||||
}
|
||||
|
||||
location /static {
|
||||
expires 14d;
|
||||
alias /opt/static;
|
||||
}
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue