Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port redirect in wp-admin #7

Open
duajanuari opened this issue Sep 25, 2013 · 0 comments
Open

Port redirect in wp-admin #7

duajanuari opened this issue Sep 25, 2013 · 0 comments

Comments

@duajanuari
Copy link

Hello,

on my installation, sometimes it redirected to port 8080 when accessing http://mysite/wp-admin. I dont know why, but sometimes it redirect me to http://mysite:8080/wp-admin

it just quite annoying if we serve it at that port, but if somehow we need to disable varnish and use nginx at port 80 instead, it will give us error.

My fix is add:

port_in_redirect off;

at site configuration or even nginx.conf. I don't know whether it's a good idea or not, and why that happens.

If that's a good idea it seems we can add it to nginx.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant