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