Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I have recently set up a new droplet using the Django One-Click Application Image. During installation I enabled ipv6, but now I can’t get it working: Requests using ipv6 result in a 502, and for the past hours I was unable to figure out why.
I have setup nginx to listen for ipv6 requests:
upstream app_server { # server 127.0.0.1:9000 fail_timeout=0; server unix:/home/django/gunicorn.socket fail_timeout=0; }
server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; server_name myaddress.net www.myaddress.net;
return 301 https://$server_name$request_uri;
}
server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 ipv6only=on; server_name myaddress.net www.myaddress.net;
(…)
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
proxy_buffering off;
proxy_pass http://app_server;
}
}
But requests using ipv6 result in the following error:
2017/05/11 04:05:07 [error] 31425#31425: *8 upstream prematurely closed connection while reading response header from upstream, client: (requesting ipv6), server:(servername), request: “GET / HTTP/2.0”, upstream: “http://unix:/home/django/gunicorn.socket:/”, host: “(droplet ipv6)”
Requests directly to https://(ipv4-address) result in the “Welcome to Django”-page being displayed.
I have tried to figure this out for the last four hours or so, but at this point I have no idea where I could continue looking.
Any ideas/pointers into some direction?
QA Test Four
QA Test Four
d120f92c45b144db8d6c4f97c5da0c
ebeecroft
68aa2215160846bca0a00f952c5fdc
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
032f50ee7f7d489db3b05e204fe139
032f50ee7f7d489db3b05e204fe139
Edward Sitarski