Revert "Revert accidental docker->master merge"

This reverts commit db834b581e.
This commit is contained in:
2022-02-04 15:17:08 +01:00
parent 16505c79e7
commit b4e75fa2cd
9 changed files with 201 additions and 19 deletions

4
nginx/Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM nginx:alpine
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d

20
nginx/nginx.conf Normal file
View File

@@ -0,0 +1,20 @@
upstream konova {
server konova:8000;
}
server {
listen 80;
location / {
proxy_pass http://konova;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
location /static/ {
alias /konova/static/;
}
}