modified: README.md modified: compose.yml modified: configuration.py new file: haproxy.cfg new file: init-patroni-users.sql renamed: entrypoint.sh -> netbox-entrypoint.sh renamed: Containerfile -> netbox.Containerfile modified: nginx.conf new file: patroni-entrypoint.sh new file: patroni.Containerfile new file: patroni.yml
23 lines
483 B
Nginx Configuration File
23 lines
483 B
Nginx Configuration File
server {
|
|
listen 127.0.0.1:8084;
|
|
listen [::1]: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;
|
|
}
|
|
}
|