G
G
gambitxxx2016-05-04 09:13:35
Nginx
gambitxxx, 2016-05-04 09:13:35

Nginx as proxy for plone cms?

There is a server with cms on plane. Another server acted as an apache http proxy. It was decided to virtualize it and transfer it to nginx. in apache config:

ServerName my.site.ru
  RewriteEngine On
  RewriteRule ^/(.*) http://192.168.88.5:8080/VirtualHostBase/http/my.site.ru:80/kf/VirtualHostRoot/$1 [L,P]

everything works correctly. I tried to remake it under nginx through the converter and read the documentation for the plan. The output is a redirect and in the address bar
http://192.168.88.5:8080/VirtualHostBase/http/my.site.ru:80/kf/VirtualHostRoot
How to make a redirect with the substitution of the address bar to my.site.ru?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question