{% extends "base.html" %} {% block title %}HTTPS Configuration - DigiServer v2{% endblock %} {% block content %}
đ Detected Connection:
{% if is_https_active %}
đ HTTPS ({{ request.scheme.upper() }})
{% else %}
đ HTTP
{% endif %}
Current host: {{ current_host }} via {{ request.host }}
Domain: {{ config.domain }}
Hostname: {{ config.hostname }}
Email: {{ config.email }}
IP Address: {{ config.ip_address }}
Port: {{ config.port }}
Access URL: https://{{ config.domain }}
Last Updated: {{ config.updated_at.strftime('%Y-%m-%d %H:%M:%S') }} by {{ config.updated_by }}
â Note: You are currently accessing this page via HTTPS, but the configuration shows as disabled. This configuration will be automatically updated. Please refresh the page.
{% else %}The application is currently running on HTTP only (port 80)
Enable HTTPS below to secure your application.
{% endif %}đĄ Workflow: First, the app runs on HTTP (port 80). After you configure the HTTPS settings below, the application will be available over HTTPS (port 443) using the domain and hostname you specify.
{{ nginx_status.path }}
{{ nginx_status.http_ports|join(', ') }}
{{ nginx_status.https_ports|join(', ') }}
{{ name }}{% if not loop.last %}{{ server }}{% if not loop.last %}{{ nginx_status.ssl_protocols|join(', ') }}
{{ nginx_status.client_max_body_size }}
â ī¸ Nginx configuration not accessible
Error: {{ nginx_status.error|default('Unknown error') }}
Path checked: {{ nginx_status.path }}