nginx.conf

 avatar
unknown
yaml
2 years ago
524 B
5
Indexable
vents {}
http {
    upstream jiogames_dashboard {
        server web:8000;
    }

    server {

        listen 80;

        location / {
            include  /etc/nginx/mime.types;
            proxy_pass http://jiogames_dashboard;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $host;
            proxy_redirect off;
        }

        location /static/ {
            include  /etc/nginx/mime.types;
            alias /home/app/web/staticfiles/;
        }

    }
}
Editor is loading...