First version of the uffd collection
Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
parent
688c2456b7
commit
29d7b1c504
19 changed files with 622 additions and 0 deletions
13
roles/uffd/templates/nginx.conf.j2
Normal file
13
roles/uffd/templates/nginx.conf.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
location / {
|
||||
uwsgi_pass uffd-app:3031;
|
||||
include uwsgi_params;
|
||||
}
|
||||
|
||||
location /static {
|
||||
alias /var/www/uffd/static;
|
||||
}
|
||||
}
|
3
roles/uffd/templates/uffd.cfg.j2
Normal file
3
roles/uffd/templates/uffd.cfg.j2
Normal file
|
@ -0,0 +1,3 @@
|
|||
FLASK_ENV="production"
|
||||
SQLALCHEMY_DATABASE_URI="sqlite:////var/lib/uffd/db.sqlite"
|
||||
SECRET_KEY="{{ uffd_secret_key }}"
|
Loading…
Add table
Add a link
Reference in a new issue