mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2025-07-17 15:54:00 +00:00
First Commit
This commit is contained in:
1
config/app.env.example
Normal file
1
config/app.env.example
Normal file
@@ -0,0 +1 @@
|
||||
SECRET_KEY="SECRET_KEY"
|
23
config/nginx.conf
Normal file
23
config/nginx.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
upstream app_server{
|
||||
server app:8000;
|
||||
}
|
||||
|
||||
server{
|
||||
listen 80;
|
||||
server_name ui.aykhans.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://app_server;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /static/;
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
alias /media/;
|
||||
}
|
||||
}
|
5
config/postgres.env.example
Normal file
5
config/postgres.env.example
Normal file
@@ -0,0 +1,5 @@
|
||||
POSTGRES_USER="POSTGRES_USER"
|
||||
POSTGRES_PASSWORD="POSTGRES_PASSWORD"
|
||||
POSTGRES_SERVER="POSTGRES_PASSWORD"
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB="POSTGRES_PASSWORD"
|
Reference in New Issue
Block a user