Change : Fix referrer-policy.

This commit is contained in:
Dmitry Voronin 2024-06-23 15:56:38 +03:00
parent 61e1e50678
commit 6e0acf9132
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 6 additions and 3 deletions

View file

@ -11,7 +11,10 @@ in {
allow ${container.localAccess}; allow ${container.localAccess};
allow ${container.config.vpn.address}; allow ${container.config.vpn.address};
deny all; deny all;
proxy_pass http://''$${name}$request_uri; proxy_pass http://''$${name}$request_uri;
add_header Referrer-Policy 'origin';
} }
ssl_certificate /etc/letsencrypt/live/${domain}/fullchain.pem; ssl_certificate /etc/letsencrypt/live/${domain}/fullchain.pem;

View file

@ -60,7 +60,7 @@ in {
(import ../../container/Read.nix args) (import ../../container/Read.nix args)
(import ../../container/Redis.nix args) (import ../../container/Redis.nix args)
(import ../../container/Search.nix args) (import ../../container/Search.nix args)
# (import ../../container/Status.nix args) (import ../../container/Status.nix args)
(import ../../container/Stock.nix args) (import ../../container/Stock.nix args)
(import ../../container/Vpn.nix args) (import ../../container/Vpn.nix args)
(import ../../container/Watch.nix args) (import ../../container/Watch.nix args)

View file

@ -1,4 +1,4 @@
{ pkgs, setting, style, ... }: let { pkgs, style, ... }: let
border = { border = {
fg = "#${style.color.border}"; fg = "#${style.color.border}";
}; };
@ -7,7 +7,7 @@ in {
manager = { manager = {
cwd = { cwd = {
fg = "#${style.color.fg.light}"; fg = "#${style.color.fg.light}";
bg = "#${style.color.bg.dark}"; # bg = "#${style.color.bg.dark}";
}; };
hovered = { hovered = {
fg = "#${style.color.fg.light}"; fg = "#${style.color.fg.light}";