I’m at the whim of the community lol I don’t have a lot of my own experiences to rely on - just trying to make educated guesses. I have a few sites I’d like to host at home and I’ll definitely be using caddy for that going forward it was super easy.
I’m at the whim of the community lol I don’t have a lot of my own experiences to rely on - just trying to make educated guesses. I have a few sites I’d like to host at home and I’ll definitely be using caddy for that going forward it was super easy.
Turned out I had like 3 versions of php and 2 versions of postgres all installed in different places and fighting like animals. Cleaned up the mess, fresh install of php and postgres, restored postgres data to the database and bobs your uncle. What a mess.
Thank you for taking the time to help me. Got me focused on the right thing.
Honestly I don’t even recognize that path. I’m using php8.3-fpm and all of the paths have matched what guides typically suggest so far. Friend often installed things to weird directories manually. I don’t know where nextcloud is drawing it’s path to php or, more importantly, it’s path to config.php. 🤔 I feel like if I can tell it that config.php has moved from /usr/local/apache/secure to /var/www - a lot of stuff will snap into place but that’s where I’m hitting this strange wall.
thank you for taking the time to share, I actually moved over to nginx… all over the place >_> a few people have made it pretty clear I’m going to overwhelm caddy quickly with the number of different domains and sites we host so I’m starting over with nginx now.
i included a clickable paste at the end of my post, does that work?
yes nginx loads the page no problem, it’s nextcloud that’s throwing the error which is frustrating because there seems to be no way to tell nextcloud the location of config.php has changed (along with the rest of the root dir)
Thank you for the resource, I’ll employ it for sure.
Copy that. Some people have recommended cloudflare I’m looking into it.
What info should be redacted 👀 I didn’t realize any of this was particularly sensitive?
Only thing I’m having trouble with so far is handling a line like this >
<FilesMatch \.php$> # Apache 2.4.10+ can proxy to unix socket SetHandler "proxy:unix:///run/php74-fpm.sock|fcgi://localhost/" </FilesMatch>
Not really sure how caddy handles this.
This is brilliant thank you. This is going to save me dozens of hours.
I appreciate the offer. If I get stuck I’ll dump it. If it’s as straight forward as everyone says I should be able to pull it off it looks so easy. Don’t want to make others do my work for me unduly.
How hard would it be to switch in your experience… I’d love something this simple. Nervous to tear stuff down though.
We are a community oriented business and I really hate the big tech companies controlling the fate of my company. Lemmy seemed like one of a few easy alternative platforms where we were free from being stuck under the thumb of a tech giant or a ban away from loosing our members.
Unfortunately no, though that sounds very nice.
The only thing I can think of that might be interfering is HSTS? I’m not sure how acme is accessed when a browser can only access a site with ssl. Perhaps HSTS is interfering with the cert process somehow?
Thanks I’m gonna check this out first thing. I thought that was weird but I’m not sure what in httpd.conf could be interfering with the process. I will give the file a better read through and see what I can come up with - it’s a good starting point.
Just popping in this morning to thank everyone for their suggestions overnight. I have some stuff to look at now when I get to the office this morning. Can’t respond to every comment at the moment but I will. Just wanted to say thanks.
My friend chose it, he was old school. I don’t personally have a preference between the two but we use this server for our small business so I haven’t really wanted to risk messing everything up to switch when it’s (mostly) currently functional.
Heyo! I just set up a full suite of fediverse nonsense over at MakrArmy.io! Congrats!