<a href> problem with nginx reverse proxy

Viewed 39

halo all,

Since I am using nginx reverse proxy for my website.

I reverse proxy sample.com/ (main domain) to sample.com/zh/.

but in sample.com/zh/ page all page <a href="about-us"> will go to sample.com/about-us rather than sample.com/zh/about-us.

Any chance that I can fix this? Thanks all!

1 Answers

Try adding another / after the zh so that it's sample.com/zh/

Related