mirror of
https://github.com/penpot/penpot.git
synced 2026-11-09 11:30:54 +00:00
The backport of docker/ from develop (2df5f417a) also brought the subpath support from #12358 and its fix (95bc48a08). It needs the Admin Console from 2.20, so with the current one every Admin Console URL fails. Restore the previous nginx configuration and docker-compose.yaml. AI-assisted-by: Claude Signed-off-by: David Barragán Merino <david.barragan@kaleidos.net>
12 lines
457 B
Plaintext
12 lines
457 B
Plaintext
# The Admin Console is served at the root of its own server. Keep proxy_pass
|
|
# without a URI: building it from $request_uri escapes the path twice.
|
|
location /admin-console {
|
|
rewrite "^/admin-console(?:/(.*))?$" /$1 break;
|
|
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $http_cf_connecting_ip;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_pass $PENPOT_ADMIN_CONSOLE_URI;
|
|
}
|