From 81b80e6e2af58ac07eab9e1706c5c9ca4eb56c11 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Fri, 30 May 2025 12:05:40 +0200 Subject: [PATCH] =?UTF-8?q?Versi=C3=B3n=20correcta=20de=20nginx=20para=20K?= =?UTF-8?q?8S?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- K8S/Makefile | 2 +- nginx/nginx.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/K8S/Makefile b/K8S/Makefile index 78f0dfa..fb3e711 100644 --- a/K8S/Makefile +++ b/K8S/Makefile @@ -1,7 +1,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export REGISTRY=registry.reymota.es export IMG_VERSION = 0.76 -export IMG_NGINX_VERSION = 1.2 +export IMG_NGINX_VERSION = 2.0 # limpia todo all: imagen clean install diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 853d88a..8365ea3 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -1,4 +1,4 @@ -upstream finanzas { +upstream reymota { server reymota:8000; } @@ -15,11 +15,11 @@ server { } location /static/ { - alias /app/staticfiles/; + alias /app/reymota/staticfiles/; } location /media/ { - alias /app/mediafiles/; + alias /app/reymota/mediafiles/; } }