From b40ef066493be38b6251f73080877effe20134bc Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 27 Oct 2024 14:04:02 +0100 Subject: [PATCH] Define nginx configuration file --- 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; + } +} +