feat: add SECURITY_MODE setting to security templates

This commit is contained in:
Théophile Diot 2024-12-03 11:56:38 +01:00
parent a26a9138ca
commit e1f14bc8a1
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
3 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,7 @@
"name": "Advanced security level with focus on robust security measures and comprehensive protection",
"settings": {
"SERVER_NAME": "www.example.com",
"SECURITY_MODE": "block",
"USE_REVERSE_PROXY": "yes",
"REVERSE_PROXY_HOST": "http://upstream-server:8080",
"REVERSE_PROXY_URL": "/",
@ -73,6 +74,7 @@
"subtitle": "Configure your web service facing your clients",
"settings": [
"SERVER_NAME",
"SECURITY_MODE",
"AUTO_LETS_ENCRYPT",
"USE_LETS_ENCRYPT_STAGING",
"USE_LETS_ENCRYPT_WILDCARD",

View file

@ -2,6 +2,7 @@
"name": "Basic security level that provides essential settings for web application protection",
"settings": {
"SERVER_NAME": "www.example.com",
"SECURITY_MODE": "block",
"USE_REVERSE_PROXY": "yes",
"REVERSE_PROXY_HOST": "http://upstream-server:8080",
"REVERSE_PROXY_URL": "/",
@ -71,6 +72,7 @@
"subtitle": "Configure your web service facing your clients",
"settings": [
"SERVER_NAME",
"SECURITY_MODE",
"AUTO_LETS_ENCRYPT",
"USE_LETS_ENCRYPT_STAGING",
"USE_LETS_ENCRYPT_WILDCARD",

View file

@ -2,6 +2,7 @@
"name": "Balanced security level that offers a mix of security features and performance optimizations",
"settings": {
"SERVER_NAME": "www.example.com",
"SECURITY_MODE": "block",
"USE_REVERSE_PROXY": "yes",
"REVERSE_PROXY_HOST": "http://upstream-server:8080",
"REVERSE_PROXY_URL": "/",
@ -73,6 +74,7 @@
"subtitle": "Configure your web service facing your clients",
"settings": [
"SERVER_NAME",
"SECURITY_MODE",
"AUTO_LETS_ENCRYPT",
"USE_LETS_ENCRYPT_STAGING",
"USE_LETS_ENCRYPT_WILDCARD",