immibis
- 0 Posts
- 7 Comments
immibis@social.immibis.comto
Selfhosted@lemmy.world•Anyone hosting Lemmy and Mastodon on the same server?
2·3 years agoHere’s what I have for Pleroma.
server {
server_name social.immibis.com; # this is what matches the domain name
root /var/www/social_html; # empty folder
location / {
proxy_pass http://localhost:4000;
}# this block was from the pleroma documentation, I think. Mastodon and Lemmy might have their own recommendations. Upgrade is to enable proxying websockets. and the rest seems generally sensible for proxying.
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 16m;
ignore_invalid_headers off;# when you run Certbot it will change this to 443, insert SSL configuration, and set up a redirect on port 80
listen [::]:80;
listen 80;
}
immibis@social.immibis.comto
Selfhosted@lemmy.world•Anyone hosting Lemmy and Mastodon on the same server?
4·3 years ago@TrinityTek vhosts also refers to the general concept. In nginx you configure multiple servers with the same listening addresses but different names.
immibis@social.immibis.comto
Selfhosted@lemmy.world•Anyone hosting Lemmy and Mastodon on the same server?
6·3 years ago@TrinityTek@lemmy.world @selfhosted@lemmy.world Everything on your server has a URL, like https://your.server.name.example/c/your_community_name. Unless you want all the official public URLs to everything on your server to have a port number in them (https://your.server.name.example:1234/TrinityTek) you probably want to figure this out <i>before</i> deploying anything.
I suggest using vhosts. You can for example run Lemmy on port 8001 and Mastodon on port 8002 (both should be bound to 127.0.0.1 without HTTPS). Then you get two domain names pointing at the same server. Then you install nginx on your server, as your actual web server, and you configure it so requests for lemmy.trinitytek.com gets proxied to lemmy and mastodon.trinitytek.com gets proxied to mastodon
immibis@social.immibis.comto
Selfhosted@lemmy.world•What is a good software to selfhost porn
3·3 years ago@online @selfhosted I have to say this is the first time I’ve ever seen anyone ask this
@kratoz29 @selfhosted You cannot go much cheaper from $6 per month… there’s just not that far down to go. You can save maybe another $3 per month. There’s a $3.50/mo plan on Vultr. I have an OVHcloud VPS that cost $100 for 2 years but that was some special promotional deal.
I also stumbled across this one that is $3.40/month (but the $5/month is a much better deal, with 4GB of RAM) but I don’t know anything about this hosting provider so it could just as well be a scam: https://bill.alexhost.com/cart/moldova/
@RomTy @ThePenguinDev if Meta can shut it down, it will. Everything good is illegal.