Jump to content

setting up reverse proxy issue on Wordpress docker


Amar

Recommended Posts

Posted

Hi,

I'm having an issue setting up a reverse proxy on my Wordpress docker. I have a Nginx docker container (link removed) running separately. Using unRAID as the OS. I have other services running under domain.com so I'm trying to run WP in a subdir.

This is the block I'm using in my nginx conf file

#Wordpress Docker
                location ^~ /blog {
                      proxy_pass http://10.0.0.18:91/;
                      proxy_set_header X-Real-IP $remote_addr;
                      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                      proxy_set_header X-Forwarded-Proto $scheme;
                      proxy_redirect http://10.0.0.18:91/ https://$host/;
                      proxy_cookie_domain http://10.0.0.18:91/ $host;
                      include /config/nginx/php.conf;
}

When going to domain.com/blog looks like it tries to load but without CSS and only text, for example:

 

enter image description here

 

Any help would be appreciated!

 

Thank you

Posted

Are you trying to do this on an unRAID platform? This is a forum for unRAID users.

 

You don't really say anything about unRAID, and the link you posted looks like it could just be spam. (I disarmed the link).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...