From 2ab8665a6b54dd8b464a81c929f52c91456f6160 Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Mon, 8 Dec 2025 21:01:12 -0500 Subject: [PATCH] attempting proxying --- web/vue-app/nginx.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web/vue-app/nginx.conf b/web/vue-app/nginx.conf index 2b81648..618aceb 100644 --- a/web/vue-app/nginx.conf +++ b/web/vue-app/nginx.conf @@ -1,11 +1,19 @@ events {} http { + include /etc/nginx/mime.types; # Ensure this line is present + default_type application/octet-stream; + server { listen 80; server_name _; root /usr/share/nginx/html; + types { + application/javascript js mjs; + # Other types... + } + location /api/ { proxy_pass http://chore-app-backend:5000/; proxy_set_header Host $host; @@ -24,5 +32,6 @@ http { location / { try_files $uri $uri/ /index.html; - } } + } + } } \ No newline at end of file