From 2eb7fe424c0d0174bf66a2acb0a123496b0f6e4b Mon Sep 17 00:00:00 2001 From: Adam French Date: Tue, 18 Nov 2025 23:29:39 +0000 Subject: [PATCH] rerouting to api --- nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 3a41934..145f2a8 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -24,8 +24,8 @@ http { root /var/www/certbot; } - location /api/ { - proxy_pass http://localhost:8080; + location /posts/ { + proxy_pass http://localhost:8080/posts; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;