Browse Source

Ajusto nginx.conf

main
Celestino Rey 10 months ago
parent
commit
3be41f5920
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      nginx.conf

+ 5
- 5
nginx.conf View File

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

Loading…
Cancel
Save