Inital Commit
This commit is contained in:
3
docker/files/.env
Normal file
3
docker/files/.env
Normal file
@ -0,0 +1,3 @@
|
||||
HOST=0.0.0.0
|
||||
PORT=80
|
||||
FILE_PATH=/data/readings.csv
|
||||
13
docker/files/nginx.conf.j2
Normal file
13
docker/files/nginx.conf.j2
Normal file
@ -0,0 +1,13 @@
|
||||
server {
|
||||
|
||||
listen 80;
|
||||
server_name {{ http_host }};
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host:$server_port;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_pass http://localhost:{{ host_port }};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user