Page MenuHomeDevCentral

Update nginx front-end configuration for Penpot
ClosedPublic

Authored by dereckson on Jan 18 2024, 00:52.
Tags
None
Referenced Files
F25128717: D3295.diff
Tue, Mar 31, 17:26
F25125690: D3295.id8481.diff
Tue, Mar 31, 12:17
F25124354: D3295.id8487.diff
Tue, Mar 31, 10:33
F25121807: D3295.id8487.diff
Tue, Mar 31, 08:15
F25121104: D3295.id8482.diff
Tue, Mar 31, 07:29
F25121079: D3295.id8484.diff
Tue, Mar 31, 07:29
F25116266: D3295.id8484.diff
Tue, Mar 31, 01:37
F25116229: D3295.id8482.diff
Tue, Mar 31, 01:35
Subscribers
None

Details

Summary

When Penpot has been updated to 1.19.3-10698-g1eaf7b2b4, font support
was broken: when an user select a new font, text stays in the default font.

Console showed 404 errors on /internal/gfonts/css URL, missing from our nginx
configuration. Penpot nginx configuration has indeed been updated to proxy
Google Fonts requests locally.

Test Plan

Deploy on docker-002 for https://design.nasqueron.org

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 5218
Build 5499: arc lint + arc unit

Event Timeline

We need to define a cache zone:

nginx: [emerg] "proxy_cache" zone "penpot" is unknown in /etc/nginx/nginx.conf:58

Add a proxy cache for Google Fonts

This revision is now accepted and ready to land.Jan 21 2024, 16:23