this post was submitted on 19 Jul 2023
6 points (100.0% liked)

Selfhosting

16 readers
1 users here now

All things selfhosting and homelab related Resources: - https://github.com/awesome-selfhosted/awesome-selfhosted - https://github.com/awesome-foss/awesome-sysadmin

founded 1 year ago
 

Hello, I'm trying to host my own kbin instance. Mainly for fun and to see if it will work but also because that kind of is the point of federation.

I managed to get it up and running and I can search for other magazines and they turn up in the search but are completely empty and do not fill up with content after some hours. Also wenn I click subscribe I get an error 500. I followed the admin guide and I think the problem is my reverse proxy but I don't know how to get around it. Does anyone have experience or maybe knows some place where I can direct some questions?

Thanks!

top 4 comments
sorted by: hot top controversial new old
[–] flauschke@feddit.de 3 points 1 year ago* (last edited 1 year ago)

I fixed it. It seems to work now. For future reference:

Due to my reverse proxy setup the php container identified it's own URL as being accessed via HTTP. Settings HTTPS=on in the config did the trick. This will force symfony to assume HTTPS for all communication.

Edit: it seems my comments are not being federated so I could still use some help. Edit 2: it seems all it needed was some patience

[–] pirate526@kbin.social 1 points 1 year ago (1 children)

Not related to your initial issue.. but a quick question as it appears you might have already figured out a lot regarding hosting your own instance.

Do you know if you can lock it down so that only you have an account on the instance? I’d like to run my own but I’d want membership locked so I just use the instance to federate content.

[–] flauschke@feddit.de 1 points 1 year ago (1 children)

Yes, you can disable registrations in the config file and just create your own account through a docker command

[–] pirate526@kbin.social 1 points 1 year ago

Thanks! That’s great to hear.