# Generated by Django 5.2.9 on 2025-12-17 18:29

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("certs", "0001_initial"),
        ("nginx", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="siteconfiguration",
            name="certificate",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="nginx_configurations",
                to="certs.certificatebase",
            ),
        ),
        migrations.AddField(
            model_name="siteconfiguration",
            name="protocol",
            field=models.CharField(
                choices=[("http", "HTTP"), ("https", "HTTPS")],
                default="http",
                help_text="Include HTTPS listeners when set to HTTPS.",
                max_length=5,
            ),
        ),
    ]
