Added: Tandoor for recipes
This commit is contained in:
7
tandoor/files/.env
Normal file
7
tandoor/files/.env
Normal file
@ -0,0 +1,7 @@
|
||||
SECRET_KEY=7ukvcoUnuyhPK6Nds3KbwG+3zeYuJGTDyi0ohFJqMwgjrdwBxn%
|
||||
DB_ENGINE=django.db.backends.postgresql
|
||||
POSTGRES_HOST=db
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=123456
|
||||
POSTGRES_DB=tandoor
|
||||
13
tandoor/files/nginx.conf.j2
Normal file
13
tandoor/files/nginx.conf.j2
Normal file
@ -0,0 +1,13 @@
|
||||
server {
|
||||
|
||||
listen 80;
|
||||
server_name {{ http_host }};
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8880;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user