{% extends "base.html" %} {% block title %}HTTPS Configuration - DigiServer v2{% endblock %} {% block content %}

Current Status

{% if config and config.https_enabled %}
✅ HTTPS ENABLED

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 }}

{% else %}
âš ī¸ HTTPS DISABLED

The application is currently running on HTTP only (port 80)

Enable HTTPS below to secure your application.

{% endif %}

Configure HTTPS Settings

💡 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.

Check this box to enable HTTPS/SSL for your application

Short name for your server (e.g., 'digiserver')

Complete domain name (e.g., digiserver.sibiusb.harting.intra)

Server's IP address for direct access (e.g., 10.76.152.164)

Email address for SSL certificate notifications and Let's Encrypt communications

Port for HTTPS connections (default: 443)

Access Points After Configuration:

  • HTTPS (Recommended): https://digiserver.sibiusb.harting.intra
  • HTTP (Fallback): http://10.76.152.164
Cancel

â„šī¸ Important Information

📝 Before You Start

  • Ensure your DNS is configured to resolve the domain to your server
  • Verify the IP address matches your server's actual network interface
  • Check that ports 80, 443, and 443/UDP are open for traffic

🔐 HTTPS Setup

  • SSL certificates are automatically managed by Caddy
  • Certificates are obtained from Let's Encrypt
  • Automatic renewal is handled by the system

✅ After Configuration

  • Your app will restart with the new settings
  • Both HTTP and HTTPS access points will be available
  • HTTP requests will be redirected to HTTPS
  • Check the status above for current configuration
{% endblock %}