change host with 127.0.0.1
{
"url": "https://mydomain.com/blog",
"server": {
"port": 2368,
"host": "127.0.0.1"
},
Make sure your location block looks like below within your nginx server block
location /blog/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:2368;
}
Restart nginx
& It should work properly