Nginx - Conditional SSL Configuration Based on Certificate Existence
Nginx - Conditional SSL Configuration Based on Certificate Existence: a task in Terminal-Lego-15k (Harbor dataset). You need to create an Nginx configuration solution that enables SSL/HTTPS only when SSL certificates are present in the filesystem, allowing the same configuration to work in both…
The task
You need to create an Nginx configuration solution that enables SSL/HTTPS only when SSL certificates are present in the filesystem, allowing the same configuration to work in both development (without certificates) and production (with certificates) environments.
Part of PrimeIntellect/Terminal-Lego-15k.