title: Mixed content error while serving wordpress from another instance
body: <p>I want to serve a WordPress application from <code>https://example.com/blog</code>. The issue is that <code>https://example.com</code> is hosted on another instance and I am redirecting <code>/blog</code> to other instance. The server I am using is Nginx. This is my Nginx configuration.</p>
  <pre><code>server {
   server_name example.com;
  
    location / {
     try_files $uri $uri /index.html;
    }
  
    location ^~ /blog {
     proxy_pass http://&lt;IP&gt;/blog;
     proxy_set_header X-Real-IP $remote_addr;
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  
     allow &lt;IP&gt;;
   }
  }
  </code></pre>
  <p>As the <code>/blog</code> is running on other instance it is giving me Mixed-content errors because the proxy is passed to <code>http:IP</code> and it is loaded over <code>https</code>. Please help me solveing this issue.</p>