Compare commits
3 Commits
e545add397
...
fc8ff2f671
Author | SHA1 | Date | |
---|---|---|---|
fc8ff2f671 | |||
![]() |
3c6e849d8d | ||
![]() |
f048f1f371 |
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
./services/mysql.nix
|
./services/mysql.nix
|
||||||
./services/nginx.nix
|
./services/nginx.nix
|
||||||
./services/www-ctf-feal-no.nix
|
|
||||||
./services/www-kinealbrigtsen-no.nix
|
./services/www-kinealbrigtsen-no.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.nginx.virtualHosts."ctf.feal.no" = {
|
|
||||||
locations = {
|
|
||||||
"/".return = "302 https://www.feal.no/";
|
|
||||||
"/cc/" = {
|
|
||||||
alias = "${pkgs.cyberchef}/share/cyberchef/";
|
|
||||||
index = "index.html";
|
|
||||||
};
|
|
||||||
"= /cc".return = "302 /cc/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -83,6 +83,7 @@
|
|||||||
set_real_ip_from 192.168.11.0/24;
|
set_real_ip_from 192.168.11.0/24;
|
||||||
real_ip_header X-Forwarded-For;
|
real_ip_header X-Forwarded-For;
|
||||||
|
|
||||||
|
add_header Content-Security-Policy "script-src 'self'; object-src 'none'; base-uri 'none';" always;
|
||||||
add_header 'Referrer-Policy' 'origin-when-cross-origin';
|
add_header 'Referrer-Policy' 'origin-when-cross-origin';
|
||||||
add_header X-Frame-Options DENY;
|
add_header X-Frame-Options DENY;
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user