6 hours ago
Giving another look at your nginx config. Why is there a separate listen block for port 8096 that doesn't go anywhere? I THINK your proxy_pass for /media/ is looping back into that server block listening on port 8096. Essentially going nowhere.
Remove this section from your nginx config and try again.
Remove this section from your nginx config and try again.
Code:
server {
listen 8096;
server_name $DOMAIN;
}