dockerized the application for easier distribution and depleyment

This commit is contained in:
Patryk Hegenberg 2023-12-28 11:35:42 +01:00
parent b06c3cec3e
commit a9147c3698
6 changed files with 100 additions and 28 deletions

17
nginx.conf Normal file
View file

@ -0,0 +1,17 @@
events {}
http {
server {
listen 80;
server_name math-wizard;
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;
}
}
}