add allow_invalid_cert field to application model and update related forms and config processing

This commit is contained in:
Eduardo Silva
2026-03-16 14:27:03 -03:00
parent c707d278f3
commit 5cadfba3b7
5 changed files with 38 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ class Application(models.Model):
name = models.SlugField(max_length=64, unique=True)
display_name = models.CharField(max_length=128, blank=True)
upstream = models.CharField(max_length=255, help_text=_("Upstream address, e.g.: http://10.188.18.27:3000"))
allow_invalid_cert = models.BooleanField(default=False, help_text=_("Allow invalid or self-signed TLS certificates from the upstream"))
created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)