ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.23k stars 396 forks source link

How to enable SSL/TLS? #229

Closed Tysseract closed 4 years ago

Tysseract commented 4 years ago

Is there any way to add an SSL certificate? I noticed that https://pyx-1.pretendyoure.xyz/ is secure but even with PostgreSQL enabled in config, my instance says connection not secure

ajanata commented 4 years ago

Run it behind a reverse proxy. I'm actually using Cloudflare to manage the TLS. If you want tomcat to do it directly, you'd have to consult its documentation.