This commit is contained in:
Joshua Perry 2024-06-19 23:00:24 +01:00
parent 2e23b0a535
commit 0eb2aff173
4 changed files with 17 additions and 3 deletions

2
.todo
View File

@ -4,7 +4,7 @@
[] Check how to link contents of files to README
# dermy-api
[] Add restore route
[] remove image_path from Mole
[] Comment Code
[] Add Tests
[] Add README and LICENSE

@ -1 +1 @@
Subproject commit dc86209ddb93c1448e3b61875cac305718f0bf2f
Subproject commit 13f8a8214dffa043f641772160ef404846bb2b23

@ -1 +1 @@
Subproject commit 0b2999307317db516d79ec4096c2c582a8cc796e
Subproject commit ccfa6941809380f4cb1d83b53efffc3dbe321cb6

View File

@ -0,0 +1,14 @@
server {
listen $SERVER_PORT;
server_name $SERVER_ADDRESS;
location / {
proxy_pass http://localhost:$API_PORT;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}