Skip to content

Commit fda3d77

Browse files
authored
Merge pull request plone#1348 from plone/fix-nginx-config
Fix nginx configuration.
2 parents ea1a39f + ca36957 commit fda3d77

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/install/containers/examples/nginx-volto-plone-postgresql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ server {
4646
server_name plone.localhost;
4747
4848
location ~ /\+\+api\+\+($|/.*) {
49-
rewrite ^/(\+\+api\+\+\/?)+($|/.*) /VirtualHostBase/http/$server_name/Plone/++api++/VirtualHostRoot/$1 break;
49+
rewrite ^/(\+\+api\+\+\/?)+($|/.*) /VirtualHostBase/http/$server_name/Plone/++api++/VirtualHostRoot/$2 break;
5050
proxy_pass http://backend;
5151
}
5252

docs/install/containers/examples/nginx-volto-plone-zeo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ server {
4646
server_name plone.localhost;
4747
4848
location ~ /\+\+api\+\+($|/.*) {
49-
rewrite ^/(\+\+api\+\+\/?)+($|/.*) /VirtualHostBase/http/$server_name/Plone/++api++/VirtualHostRoot/$1 break;
49+
rewrite ^/(\+\+api\+\+\/?)+($|/.*) /VirtualHostBase/http/$server_name/Plone/++api++/VirtualHostRoot/$2 break;
5050
proxy_pass http://backend;
5151
}
5252

docs/install/containers/examples/nginx-volto-plone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ server {
4545
server_name plone.localhost;
4646
4747
location ~ /\+\+api\+\+($|/.*) {
48-
rewrite ^/(\+\+api\+\+\/?)+($|/.*) /VirtualHostBase/http/$server_name/Plone/++api++/VirtualHostRoot/$1 break;
48+
rewrite ^/(\+\+api\+\+\/?)+($|/.*) /VirtualHostBase/http/$server_name/Plone/++api++/VirtualHostRoot/$2 break;
4949
proxy_pass http://backend;
5050
}
5151

0 commit comments

Comments
 (0)