You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

25 lines
530 B

upstream djangotutorial {
server djangotutorial:8080;
}
server {
listen 80;
location / {
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;
client_max_body_size 100M;
}
location /static/ {
alias /opt/app-root/src/wsgi/static/;
}
location /media/ {
alias /opt/app-root/src/wsgi/media/;
}
}