Browse Source

Versión correcta de nginx para K8S

main
Celestino Rey 6 months ago
parent
commit
81b80e6e2a
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      K8S/Makefile
  2. +3
    -3
      nginx/nginx.conf

+ 1
- 1
K8S/Makefile View File

@ -1,7 +1,7 @@
export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
export REGISTRY=registry.reymota.es export REGISTRY=registry.reymota.es
export IMG_VERSION = 0.76 export IMG_VERSION = 0.76
export IMG_NGINX_VERSION = 1.2
export IMG_NGINX_VERSION = 2.0
# limpia todo # limpia todo
all: imagen clean install all: imagen clean install


+ 3
- 3
nginx/nginx.conf View File

@ -1,4 +1,4 @@
upstream finanzas {
upstream reymota {
server reymota:8000; server reymota:8000;
} }
@ -15,11 +15,11 @@ server {
} }
location /static/ { location /static/ {
alias /app/staticfiles/;
alias /app/reymota/staticfiles/;
} }
location /media/ { location /media/ {
alias /app/mediafiles/;
alias /app/reymota/mediafiles/;
} }
} }


Loading…
Cancel
Save