Nicolas Martyanoff on Nostr: [2/2] Then I ran some tests and realized NGINX has no problem with multiple settings. ...
[2/2]
Then I ran some tests and realized NGINX has no problem with multiple settings. Try it with multiple "return" statements, the first one is used (would have prefered the last one though).
If you consider entries as statements instructing the software to do something and not settings, it starts to make sense. So let's go with the simpler option.
Published at
2024-12-26 14:27:44Event JSON
{
"id": "8487e901b73f8dc5d688d49235e8cfa0c1eccfab18e4edc6f3250608a3b40c7c",
"pubkey": "6d91e7b056ab18986298e04a8b278a5e070a726487fd30a599427c79db9070e9",
"created_at": 1735223264,
"kind": 1,
"tags": [
[
"e",
"8e093f9616d4f2fa58f0c39d9306bd6a6ea3464a6552f4b089d3959bcc3991e2",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/galdor/statuses/113719591856937693",
"activitypub"
]
],
"content": "[2/2]\nThen I ran some tests and realized NGINX has no problem with multiple settings. Try it with multiple \"return\" statements, the first one is used (would have prefered the last one though).\n\nIf you consider entries as statements instructing the software to do something and not settings, it starts to make sense. So let's go with the simpler option.",
"sig": "35c7b0304d59efe7f81e98b7433a88f3472123f586f632108e9f4a2fb8f879173d9cff05275fcd919d6186ad629c13f973ff530f2f01a1f80500f111131737ea"
}