fixed x-frame-show issue

This commit is contained in:
Nickiel12 2025-02-08 19:02:31 -08:00
parent 1c969cce07
commit 876a3556a8

View file

@ -85,13 +85,23 @@
locations."/" = { locations."/" = {
proxyPass = "http://10.0.0.59/"; proxyPass = "http://10.0.0.59/";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = ''
proxy_hide_header X-Frame-Options;
add_header 'Referrer-Policy' 'origin-when-cross-origin';
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "";
'';
};
locations."/webcam" = {
proxyPass = "http://10.0.0.59:8080/?action=stream";
proxyWebsockets = true;
}; };
}; };
"printers.nickiel.net" = { "printers.nickiel.net" = {
# forceSSL = true; # forceSSL = true;
# enableACME = true; # enableACME = true;
locations."/".root = "/Aurora/StaticSites/printer_pages"; locations."/".root = "/Aurora/StaticSites/printers-static-pages";
}; };
}; };