mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-15 05:17:05 +00:00
Nginx templates
This commit is contained in:
6
src/backend/templates/_forced_ssl.conf
Normal file
6
src/backend/templates/_forced_ssl.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
{%- if certificate and certificate_id > 0 -%}
|
||||
{%- if ssl_forced == 1 or ssl_forced == true -%}
|
||||
# Force SSL
|
||||
include conf.d/include/force-ssl.conf;
|
||||
{%- endif -%}
|
||||
{%- endif %}
|
Reference in New Issue
Block a user