Hi Guys,
I have a little issue. I have 4 Servers ( behind a load balancer), but my Main Server was located at Germany. Now i will redirect all traffic via proxy to my main server. All works.
But when I try go to my own-plugin (and other uploaded external Plugins) so i got a Wordpress error: "You do not have sufficient permissions to access this page.". When i disable the load balancer and set a local route directly to the main server (1.2.3.4 my-domain.de) then all plugins work normaly.
upstream backend {
server 1.2.3.4:80; # main server
}
server {
listen 80;
server_name my-domain.de *.my-domain.de;
default_type text/html;
access_log off;
location ~ (wp-content|wp-includes|wp-admin|\.php) {
proxy_set_header Host $host;
proxy_pass_header Set-Cookie;
proxy_pass http://backend$request_uri$args;
}
}
Anyone can help me?