Skip to content

Commit

Permalink
Set real ip and allowed origins for new backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Defelo committed Nov 10, 2024
1 parent c7c16ba commit 39c4579
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hosts/test/backend/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
settings = {
http = {
address = "127.0.0.1:8000";
real_ip.header = "X-Real-Ip";
real_ip.set_from = "127.0.0.1";
allowed_origins = [".*"];
};
email = {
from = "Bootstrap Academy <[email protected]>";
Expand Down

0 comments on commit 39c4579

Please sign in to comment.