Add files necessary for production deployment
* Dockerfile, docker-compose template * nginx config * uwsgi config * wait-for-postgres script * requirements.txt * Some other stuff Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
17
nginx.conf
Normal file
17
nginx.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
location /static {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
location /media {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass app:3031;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user