From 3be41f59204f92c6ef1aea4de8f187333c3ca9d8 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Wed, 15 Jan 2025 10:57:06 +0100 Subject: [PATCH] Ajusto nginx.conf --- nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx.conf b/nginx.conf index 49d14db..828a189 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,5 +1,5 @@ -upstream jugaralpadel { - server jugaralpadel:8000; +upstream djangotutorial { + server djangotutorial:8080; } server { @@ -7,7 +7,7 @@ server { listen 80; location / { - proxy_pass http://jugaralpadel; + proxy_pass https://djangotutorial-git-djangotutorial.apps.ocp-cluster.reymota.lab; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; @@ -15,11 +15,11 @@ server { } location /static/ { - alias /app/gestion_reservas/staticfiles/; + alias /opt/app-root/src/wsgi/static/; } location /media/ { - alias /app/gestion_reservas/mediafiles/; + alias /opt/app-root/src/wsgi/media/; } }