This commit is contained in:
parent
08f6ed421f
commit
caf60d32fb
2 changed files with 15 additions and 0 deletions
|
|
@ -2,6 +2,13 @@
|
|||
domain = config.customOps.domain;
|
||||
in {
|
||||
services.nginx.virtualHosts."cpcheck.${domain}" = {
|
||||
extraConfig = ''
|
||||
access_log off;
|
||||
error_log off;
|
||||
|
||||
add_header Content-Security-Policy "default-src 'none'";
|
||||
add_header 'Referrer-Policy' 'same-origin';
|
||||
'';
|
||||
locations."/".return = 204;
|
||||
forceSSL = false;
|
||||
addSSL = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue