typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
427 stars 60 forks source link

Docker with Proxy - OK - but SSL? #396

Closed nudeldudel closed 2 months ago

nudeldudel commented 1 year ago

I try to use typemill with a reverse proxy with SSL. It works good with http. It works so far with HTTPS, as the source of the side is delivered, but not the assessments. I recognized, that there is a rewrite-rule to several paths to index.php.

Maybe this is a barrier for the reverse proxy ? Or is there somewhere a setting I have to adjust?

trendschau commented 1 year ago

I did not try it with docker but to use Typemill with a proxy, you have to activate the X-Forwarded-Headers in the developer section of the system settings. Did you try that already?

nudeldudel commented 1 year ago

Yes, of course I did first... 😁

trendschau @.***> schrieb am Do., 13. Apr. 2023, 19:12:

I did not try it with docker but to use Typemill with a proxy, you have to activate the X-Forwarded-Headers in the developer section of the system settings. Did you try that already?

— Reply to this email directly, view it on GitHub https://github.com/typemill/typemill/issues/396#issuecomment-1507319821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK35VR4ID3MMMO5MSXT4ZMLXBAXWBANCNFSM6AAAAAAW5KEJBM . You are receiving this because you authored the thread.Message ID: @.***>

trendschau commented 4 months ago

You can try if it works now with Typemill Version 2.1.1.

Not super sure about your setup, the Docker image does not support SSL, not sure if you have docker behind a ssl-proxy? Never tried that, not sure if it works.

trendschau commented 2 months ago

I tested it with version 2.3.0. It should work, but there are many different configurations depending on your environment. In version 2.3.0 you can force an base-url with something like "https://myproxyurl.io" and that should work (it worked for me and for a client).

Let me know if this helps.