From a0de5eb6631e81e0d0fa08e59471e103e39f81ca Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 27 Oct 2024 17:10:11 +0000 Subject: [PATCH] Define nginx configuration file (#70) Reviewed-on: https://gitea.bustikiller.com/bustikiller/wedding-planner/pulls/70 Co-authored-by: Manuel Bustillo Co-committed-by: Manuel Bustillo --- nginx.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..9fb17cc --- /dev/null +++ b/nginx.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name libre-wedding-planner.app.localhost; + + location /api/ { + proxy_pass http://localhost:3001/; + proxy_set_header Host $http_host; + } + + location / { + proxy_pass http://localhost:3000; + proxy_set_header Host $http_host; + } +} +