new file: Containerfile new file: README.md new file: compose.yml new file: configuration.py new file: entrypoint.sh new file: local_requirements.txt new file: named.conf new file: nginx.conf new file: rndc.key
22 lines
450 B
Nginx Configuration File
22 lines
450 B
Nginx Configuration File
server {
|
|
listen 8084;
|
|
server_name _;
|
|
|
|
location /static/ {
|
|
alias /static/;
|
|
expires 30d;
|
|
access_log off;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://localhost:8085;
|
|
|
|
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;
|
|
|
|
proxy_redirect off;
|
|
}
|
|
}
|