changes for docker deployment

This commit is contained in:
www
2020-09-22 19:18:58 +00:00
parent 58c22cd3c8
commit 9c0009a2c4
11 changed files with 121 additions and 79 deletions

12
fotos-nginx.conf Normal file
View File

@@ -0,0 +1,12 @@
server {
listen 8080;
index index.html;
location /static {
alias /app/static;
try_files $uri $uri/ =404;
}
location / {
include uwsgi_params;
uwsgi_pass unix:///tmp/uwsgi.sock;
}
}