From ac8e41fccebec75c46c00eb7b01828991a5148d3 Mon Sep 17 00:00:00 2001 From: Sirttas Date: Wed, 20 Sep 2023 23:18:42 +0200 Subject: [PATCH] fix ngnix --- nginx.conf.template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx.conf.template b/nginx.conf.template index 522f286..9d64672 100644 --- a/nginx.conf.template +++ b/nginx.conf.template @@ -13,6 +13,13 @@ server { proxy_set_header X-Forwarded-Proto https; } + location /pocketbase/ { + proxy_pass https://${POCKET_BASE_URL}/; + rewrite /pocketbase/(.*) /$1 break; + proxy_ssl_server_name on; + proxy_set_header Host "${POCKET_BASE_URL}"; + proxy_set_header X-Forwarded-Proto https; + } location /appraisal/ { proxy_pass https://${EVEPRAISAL_URL}/; rewrite /appraisal/(.*) /$1 break;