🐳 Improve https documentation

This commit is contained in:
Yamila Moreno 2025-04-09 10:05:18 +02:00
parent 6e3673136a
commit ae3ce1220b

View file

@ -151,9 +151,19 @@ Postgres database and another one for the assets uploaded by your users (images
clips). There may be more volumes if you enable other features, as explained in the file clips). There may be more volumes if you enable other features, as explained in the file
itself. itself.
## Configure the proxy ## Configure the proxy and HTTPS
Your host configuration needs to make a proxy to http://localhost:9001. We strongly recommend to use Penpot under HTTPS/SSL. When you configure the proxy, your host configuration needs to make a proxy to http://localhost:9001.
<p class="advice">
If you plan to serve Penpot under different domain than `localhost` without HTTPS,
you need to disable the `secure` flag on cookies, with the `disable-secure-session-cookies` flag.
This is a configuration NOT recommended for production environments; as some browser APIs do
not work properly under non-https environments, this unsecure configuration
may limit the usage of Penpot; as an example, the clipboard does not work with HTTP.
</p>
Below, you can see three examples with three different proxys:
### Example with NGINX ### Example with NGINX