Welcome! Log In Create A New Profile

Advanced

Setting up wordpress with reverse proxy

Setting up wordpress with reverse proxy
September 17, 2019 04:33PM
Hello everyone, I have a problem loading a website developed in wordpress.

Currently nginx is used to make a reverse proxy and to display the web under the domain demo.aspor.cl. The domain points to webdev.aspor.cl/wp (where the wordpress is installed) and it has limited access by IP (but demo.aspor.cl is public to everyone).

The problem is that currently the web is loading partially and I think it happens because nginx is not well configured, but I really do not know because I I am not an expert in the subject (I am developing a site for a client that does handle the issue better).

The other option that I'm considering is that because of wordpress absolute paths the website does not load the style sheets, js and others, so the web does not works correctly. I'm posting to ask for help or guidance to see how to solve this problem :)

I hope it's the right way to post it on the forum, I'm new to this.

Greetings and thanks,

Isaiah Gonzalez D.
Re: Setting up wordpress with reverse proxy
September 21, 2019 02:52PM
Have a look at the proxy_redirect directive. Does this help?

--j.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready