title: Wordpress configuration causing plugin page to return 403 http status
body: <p>I've set up a <a href="https://aws.amazon.com/marketplace/pp/B00NN8Y43U" rel="nofollow noreferrer">bitnami powered wordpress</a> server on AWS and migrated an existing wordpress site to the new instance.</p>
  
  <p>When accessing plugins through the wordpress admin, I encounter the message "Sorry, you are not allowed to access this page." and the server returns a 403 http code.</p>
  
  <p>An example of the URL that I see the error on is:
  <a href="https://stg.mydomain.com/wp-admin/admin.php?page=instapage_dashboard" rel="nofollow noreferrer">https://stg.mydomain.com/wp-admin/admin.php?page=instapage_dashboard</a></p>
  
  <p>When accessing the plugin pages through my ec2 public DNS domain there is no issue.</p>
  
  <p>I am proxying to the ec2 domain from the mydomain server with nginx:</p>
  
  <pre><code>location /wp-admin {
    rewrite ^/wp-admin/(.*)$ /$1 break;
    resolver 8.8.8.8;
    proxy_set_header X-Real-IP  $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host $host;
    proxy_pass http://ec2-ipaddress.compute-1.amazonaws.com$request_uri$is_args$args;
    proxy_redirect off;
  }
  </code></pre>
  
  <p>On the ec2 server I am running apache rather than nginx. Is there some kind of cookie or header I might not have access to in the wordpress admin when accessing from mydomain rather than the ec2 domain?</p>