From 0eb2aff1735f9c8ade92d5a2636522faa00bee6a Mon Sep 17 00:00:00 2001 From: r0r-5chach Date: Wed, 19 Jun 2024 23:00:24 +0100 Subject: [PATCH] updates --- .todo | 2 +- dermy-api | 2 +- dermy-app | 2 +- nginx.conf | 14 ++++++++++++++ 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.todo b/.todo index 4bb175f..d55b484 100644 --- a/.todo +++ b/.todo @@ -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 diff --git a/dermy-api b/dermy-api index dc86209..13f8a82 160000 --- a/dermy-api +++ b/dermy-api @@ -1 +1 @@ -Subproject commit dc86209ddb93c1448e3b61875cac305718f0bf2f +Subproject commit 13f8a8214dffa043f641772160ef404846bb2b23 diff --git a/dermy-app b/dermy-app index 0b29993..ccfa694 160000 --- a/dermy-app +++ b/dermy-app @@ -1 +1 @@ -Subproject commit 0b2999307317db516d79ec4096c2c582a8cc796e +Subproject commit ccfa6941809380f4cb1d83b53efffc3dbe321cb6 diff --git a/nginx.conf b/nginx.conf index e69de29..30a3479 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; + } + } +