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/; } }