Flask app with Clean Architecture (core/infra), RSS feed parsing, avatar resolution from social.org files, Docker + Nginx setup.
18 lines
403 B
Nginx Configuration File
18 lines
403 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
location /static/ {
|
|
alias /usr/share/nginx/static/;
|
|
expires 1d;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://web:8080;
|
|
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;
|
|
}
|
|
}
|