Comments (3)
Hi! There is a community-contributed example nginx config here:
https://github.com/hoytech/strfry/blob/master/docs/DEPLOYMENT.md#sample-nginx-starter-config
It may need a small amount of tweaking, but it should be pretty close, depending on if you have special requirements. Let us know if you hit any issues!
from strfry.
Thank you for the information. 🙂
I set this up, triple checked & the Let's Encrypt provided by my NGINX instance worked flawlessly. All works regarding NGINX.
Now, when I try to reach the service, I get a Bad Gateway response. Triple checked the port etc. in the NGINX configuration & all is fine.
Then, I curl
ed the service itself, without going through NGINX & getting the following error.
curl: (56) Recv failure: Connection reset by peer
Apparently, something's wrong with the service. Not sure what. Didn't really change anything in strfry.conf
, either, except the server info.
According to my research, there should be a landing page shown, which tells the user to connect with a Nostr client, instead.
Nevermind. When running the relay from inside Docker, I obviously need to change the binding from 127.0.0.1
to 0.0.0.0
. Forgot about that!
The landing page works now! 😁
from strfry.
This NGINX configuration example was enough for me. Would be wise to extend it for other, less experienced, users, at some point, though. 😄
from strfry.
Related Issues (20)
- Compilation fails on alpine 3.19.1
- Add support for icon URL in NIP-11 document
- access reports HOT 2
- What happened to the Docker images? HOT 2
- SIGTERM HOT 2
- Search by tag and tag substring returns no results HOT 1
- NIP-48 support HOT 2
- Relay eventually times out all events when using a writePolicy plugin HOT 2
- Cron deletes events that are not expired HOT 1
- Importing events from another relay using .jsonl import HOT 4
- Feature: retention period HOT 5
- Feature request: NIP-45 Event Count HOT 6
- Build Error HOT 6
- Favicon for relay HOT 1
- Cryptic error messages returned in OK messages HOT 1
- logging controls not documented/working
- docker-compose not working HOT 4
- REQ limit is too low HOT 1
- strify crashes on start HOT 2
- OSX build error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strfry.