NodlAndHodl on Nostr: Nginx is totally agnostic. What port(s) does strfry run on? I'd have to dig through ...
Nginx is totally agnostic. What port(s) does strfry run on? I'd have to dig through some old examples, but typically I run nginx as a reverse proxy and on the server only expose those ports i want to use(443/80) plus 22 for ssh. The nginx config would simply proxy all traffic to your app port (8888 for example). In this case strfry. Have you looked up any examples?
Published at
2024-11-02 13:35:43Event JSON
{
"id": "40a8e9edd40cff79892cb7fb424d372170bb042cf7753117ef0899b30743d8b3",
"pubkey": "56d5de36eb4fed1e2fe99bfbfdea10ab5fa630a13c59d2e3c70dbb5b3988a572",
"created_at": 1730554543,
"kind": 1,
"tags": [
[
"e",
"7341cfeb3ac173e837d5c3a0b8aabc5c79d0a0f4f1dd4f67ac97585f95a24c18",
"",
"root"
],
[
"p",
"6140478c9ae12f1d0b540e7c57806649327a91b040b07f7ba3dedc357cab0da5"
]
],
"content": "Nginx is totally agnostic. What port(s) does strfry run on? I'd have to dig through some old examples, but typically I run nginx as a reverse proxy and on the server only expose those ports i want to use(443/80) plus 22 for ssh. The nginx config would simply proxy all traffic to your app port (8888 for example). In this case strfry. Have you looked up any examples? ",
"sig": "c8152c634cc6ef6f8fb6a9770a3d2bc69d8be70f87e46b1fba3fbe02a457842daf975e9b224ccbf6487817c993e992330b14dd3d4c74c1abbe129d4926ea86d8"
}