openvibers/openvibe.network Commits
nginx generator: generated vhosts include the platform's /.well-known/security.txt (WS-R task 7)
Changes
@@@ -529,6 +529,7 @@ function generateServiceConfig(serviceId, svc, opts = {}) {lines.push(' listen [::]:443 ssl;');lines.push(' http2 on;');lines.push(` server_name ${serverNames};`);++ lines.push(' include snippets/security-txt.conf; # /.well-known/security.txt (the host\'s file; WS-R task 7)');lines.push('');// SSL certificate
@@ -529,6 +529,7 @@ function generateServiceConfig(serviceId, svc, opts = {}) {
@@ -529,6 +529,7 @@ function generateServiceConfig(serviceId, svc, opts = {}) {
lines.push(' listen [::]:443 ssl;');
lines.push(' listen [::]:443 ssl;');
lines.push(' http2 on;');
lines.push(' http2 on;');
lines.push(` server_name ${serverNames};`);
lines.push(` server_name ${serverNames};`);
+ lines.push(' include snippets/security-txt.conf; # /.well-known/security.txt (the host\'s file; WS-R task 7)');
lines.push('');
lines.push('');
// SSL certificate
// SSL certificate