Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Dec 10, 2023
1 parent 7461607 commit f7a15cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions flavours/classic/config/activity_pub.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Config

config :activity_pub,
sign_object_fetches: true,
reject_unsigned: true,
env: config_env(),
adapter: Bonfire.Federate.ActivityPub.Adapter,
repo: Bonfire.Common.Repo
Expand Down
2 changes: 2 additions & 0 deletions flavours/classic/config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ config :bonfire, Bonfire.Web.Endpoint,
if(use_cowboy?,
do: [
port: server_port,
# only bind the app to localhost when serving behind a proxy
http: if(public_port != server_port, do: [ip: {127, 0, 0, 1}]),
transport_options: [max_connections: 16_384, socket_opts: [:inet6]]
],
else: [
Expand Down

0 comments on commit f7a15cc

Please sign in to comment.