Compare commits
17 Commits
zineshop
...
8ee697b67c
| Author | SHA1 | Date | |
|---|---|---|---|
|
8ee697b67c
|
|||
|
48cdd2283a
|
|||
|
b3d7be6786
|
|||
|
51d97ed9ba
|
|||
|
a29339bc29
|
|||
|
3991435cf3
|
|||
|
94e05d99a4
|
|||
|
b1de5a1f71
|
|||
|
6946cf9c51
|
|||
|
2e11dac1db
|
|||
|
46849ff517
|
|||
|
9c69f663ee
|
|||
| a07f7b22f0 | |||
| 71eef69889 | |||
|
80fc4cc528
|
|||
|
8b37082844
|
|||
|
6c3a7be483
|
@@ -182,5 +182,10 @@ in
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
system.stateVersion = "23.05"; # Do.. Not.. Change..
|
||||
|
||||
sops.secrets.shop_auth = {
|
||||
owner = config.services.nginx.user;
|
||||
group = config.services.nginx.group;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -72,6 +72,11 @@ with lib;
|
||||
proxyPass = "http://10.100.0.101";
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Authorization $http_authorization; # Pass the Authorization header
|
||||
proxy_pass_header Authorization;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user