There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

MaximilianKohler

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

MaximilianKohler , to technology in Fairphone has created a smartphone that owners can repair themselves - This sustainable smartphone aims to reduce global electronic waste

Needs indefinite software support too. It has 8 years software support, which is the best that exists I think, but that means I’ll have to trash it in 8 years for no good reason. The only reason I’ve had to get rid of old phones is because they weren’t providing security updates anymore.

MaximilianKohler OP , (edited ) to selfhosted in Listmonk email server, running via docker through nginx vhost. Resolves with port at the end but I get a 502 bad gateway error without the port.

Nginx is running in a container

I don’t think it is. On my other machine it’s running in the docker container, but not this one.

Using serverIP:5870 has the same result as using listmonk.mysite.com:5870. It loads a broken page i.stack.imgur.com/gIy4A.jpg with broken links. IE: the URLs are http://localhost:9000/subscription/form.

MaximilianKohler OP , to selfhosted in Listmonk email server, running via docker through nginx vhost. Resolves with port at the end but I get a 502 bad gateway error without the port.

Thanks, I checked out your link. I think my most recent comment below answers some of your questions. lemmy.world/comment/5586470

Are you able to access listmonk directly without the reverse proxy? What is the URL I. The browser when you do that?

Besides the info I put in the OP, I’m not sure what else you’re asking.

LAN IP address of the docker host

No idea what this is, so I looked it up howtogeek.com/…/how-to-get-a-docker-containers-ip… and ran docker ps then put the container ID at the end of this docker inspect -f ‘{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}’ docker-container-ID. It output an IP address which I used for proxy_pass http://docker-IP:5870;, restarted nginx, and nothing seems to have changed.

MaximilianKohler OP , (edited ) to selfhosted in Listmonk email server, running via docker through nginx vhost. Resolves with port at the end but I get a 502 bad gateway error without the port.

Thanks! I was using 127.0.0.1 because that’s what other people were successfully using: github.com/knadh/listmonk/issues/1590#issuecommen…. I had tried variations of proxy_pass http://app:5870; because I’m running listmonk successfully on another server using proxy_pass http://app:9000;, but that is when nginx is running from inside the docker container:


<span style="color:#323232;">services:
</span><span style="color:#323232;">  db:
</span><span style="color:#323232;">    &lt;&lt;: *db-defaults
</span><span style="color:#323232;">    container_name: listmonk_db
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - type: volume
</span><span style="color:#323232;">        source: listmonk-data
</span><span style="color:#323232;">        target: /var/lib/postgresql/data
</span><span style="color:#323232;">
</span><span style="color:#323232;">  app:
</span><span style="color:#323232;">    &lt;&lt;: *app-defaults
</span><span style="color:#323232;">    container_name: listmonk_app
</span><span style="color:#323232;">    depends_on:
</span><span style="color:#323232;">      - db
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - ./config.toml:/listmonk/config.toml
</span><span style="color:#323232;">      - ./listmonk/uploads:/listmonk/uploads
</span><span style="color:#323232;">
</span><span style="color:#323232;">  nginx:
</span><span style="color:#323232;">    image: nginx:mainline-alpine
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - "80:80"
</span><span style="color:#323232;">      - "443:443"
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - ./data/nginx:/etc/nginx/conf.d
</span><span style="color:#323232;">      - ./data/certbot/conf:/etc/letsencrypt
</span><span style="color:#323232;">      - ./data/certbot/www:/var/www/certbot
</span><span style="color:#323232;">    networks:
</span><span style="color:#323232;">      - listmonk
</span><span style="color:#323232;">    depends_on:
</span><span style="color:#323232;">      - app
</span><span style="color:#323232;">    command: "/bin/sh -c 'while :; do sleep 6h &amp; wait $${!}; nginx -s reload; done &amp; nginx -g "daemon off;"'"
</span><span style="color:#323232;">
</span><span style="color:#323232;">  certbot:
</span><span style="color:#323232;">    image: certbot/certbot
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">    container_name: certbot
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - ./data/certbot/conf:/etc/letsencrypt
</span><span style="color:#323232;">      - ./data/certbot/www:/var/www/certbot
</span><span style="color:#323232;">    networks:
</span><span style="color:#323232;">      - listmonk
</span><span style="color:#323232;">    depends_on:
</span><span style="color:#323232;">      - nginx
</span><span style="color:#323232;">    entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h &amp; wait $${!}; done;'"
</span>

I forgot to try proxy_pass http://listmonk_app:5870; though. I just tried that and I got the same error that I get with proxy_pass http://app:5870;.

Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.


<span style="color:#323232;">systemctl status nginx.service
</span><span style="color:#323232;">● nginx.service - Centmin Mod NGINX Server
</span><span style="color:#323232;">   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
</span><span style="color:#323232;">  Drop-In: /etc/systemd/system/nginx.service.d
</span><span style="color:#323232;">           └─failure-restart.conf, openfileslimit.conf
</span><span style="color:#323232;">   Active: failed (Result: start-limit) since Sun 2023-11-26 01:07:52 UTC; 1min 57s ago
</span><span style="color:#323232;">  Process: 34289 ExecStop=/bin/sh -c /bin/kill -s TERM $(/bin/cat /usr/local/nginx/logs/nginx.pid) (code=exited, status=0/SUCCESS)
</span><span style="color:#323232;">  Process: 18426 ExecReload=/bin/sh -c /bin/kill -s HUP $(/bin/cat /usr/local/nginx/logs/nginx.pid) (code=exited, status=0/SUCCESS)
</span><span style="color:#323232;">  Process: 25700 ExecStart=/usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf (code=exited, status=0/SUCCESS)
</span><span style="color:#323232;">  Process: 34339 ExecStartPre=/usr/local/sbin/nginx -t (code=exited, status=1/FAILURE)
</span><span style="color:#323232;"> Main PID: 25702 (code=exited, status=0/SUCCESS)
</span><span style="color:#323232;">
</span><span style="color:#323232;">Nov 26 01:07:47 centos7test systemd[1]: nginx.service: control process exited, code=exited status=1
</span><span style="color:#323232;">Nov 26 01:07:47 centos7test systemd[1]: Failed to start Centmin Mod NGINX Server.
</span><span style="color:#323232;">Nov 26 01:07:47 centos7test systemd[1]: Unit nginx.service entered failed state.
</span><span style="color:#323232;">Nov 26 01:07:47 centos7test systemd[1]: nginx.service failed.
</span><span style="color:#323232;">Nov 26 01:07:52 centos7test systemd[1]: nginx.service holdoff time over, scheduling restart.
</span><span style="color:#323232;">Nov 26 01:07:52 centos7test systemd[1]: Stopped Centmin Mod NGINX Server.
</span><span style="color:#323232;">Nov 26 01:07:52 centos7test systemd[1]: start request repeated too quickly for nginx.service
</span><span style="color:#323232;">Nov 26 01:07:52 centos7test systemd[1]: Failed to start Centmin Mod NGINX Server.
</span><span style="color:#323232;">Nov 26 01:07:52 centos7test systemd[1]: Unit nginx.service entered failed state.
</span><span style="color:#323232;">Nov 26 01:07:52 centos7test systemd[1]: nginx.service failed.
</span>

<span style="color:#323232;">journalctl -xe
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- The result is timeout.
</span><span style="color:#323232;">Nov 26 01:08:56 centos7test systemd[1]: Dependency failed for /mnt/HC_Volume_33691542.
</span><span style="color:#323232;">-- Subject: Unit mnt-HC_Volume_33691542.mount has failed
</span><span style="color:#323232;">-- Defined-By: systemd
</span><span style="color:#323232;">-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- Unit mnt-HC_Volume_33691542.mount has failed.
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- The result is dependency.
</span><span style="color:#323232;">Nov 26 01:08:56 centos7test systemd[1]: Job mnt-HC_Volume_33691542.mount/start failed with result 'dependency'.
</span><span style="color:#323232;">Nov 26 01:08:56 centos7test systemd[1]: Job dev-disk-byx2did-scsix2d0HC_Volume_33691542.device/start failed with result 'timeout'.
</span><span style="color:#323232;">Nov 26 01:09:01 centos7test systemd[1]: Started Session 313 of user root.
</span><span style="color:#323232;">-- Subject: Unit session-313.scope has finished start-up
</span><span style="color:#323232;">-- Defined-By: systemd
</span><span style="color:#323232;">-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- Unit session-313.scope has finished starting up.
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- The start-up result is done.
</span><span style="color:#323232;">Nov 26 01:09:01 centos7test CROND[34567]: (root) CMD (/usr/lib64/sa/sa1 1 1)
</span><span style="color:#323232;">Nov 26 01:09:10 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=85.203.42.26 DST= LEN
</span><span style="color:#323232;">Nov 26 01:09:35 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=205.185.121.3 DST= LE
</span><span style="color:#323232;">Nov 26 01:09:45 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=107.148.82.29 DST= LE
</span><span style="color:#323232;">Nov 26 01:09:53 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=62.204.41.118 DST= LE
</span><span style="color:#323232;">Nov 26 01:10:01 centos7test systemd[1]: Started Session 314 of user root.
</span><span style="color:#323232;">-- Subject: Unit session-314.scope has finished start-up
</span><span style="color:#323232;">-- Defined-By: systemd
</span><span style="color:#323232;">-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- Unit session-314.scope has finished starting up.
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- The start-up result is done.
</span><span style="color:#323232;">Nov 26 01:10:01 centos7test systemd[1]: Started Session 315 of user root.
</span><span style="color:#323232;">-- Subject: Unit session-315.scope has finished start-up
</span><span style="color:#323232;">-- Defined-By: systemd
</span><span style="color:#323232;">-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- Unit session-315.scope has finished starting up.
</span><span style="color:#323232;">--
</span><span style="color:#323232;">-- The start-up result is done.
</span><span style="color:#323232;">Nov 26 01:10:01 centos7test CROND[34680]: (root) CMD (/usr/lib64/sa/sa1 1 1)
</span><span style="color:#323232;">Nov 26 01:10:01 centos7test CROND[34679]: (root) CMD (/usr/lib64/sa/sa1 1 1)
</span><span style="color:#323232;">Nov 26 01:10:11 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=91.92.246.145 DST= LE
</span><span style="color:#323232;">Nov 26 01:10:12 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=85.203.42.26 DST= LEN
</span><span style="color:#323232;">Nov 26 01:10:21 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=85.209.11.142 DST= LE
</span><span style="color:#323232;">Nov 26 01:10:22 centos7test sshd[34734]: Received disconnect from 180.101.88.196 port 14758:11:  [preauth]
</span><span style="color:#323232;">Nov 26 01:10:22 centos7test sshd[34734]: Disconnected from 180.101.88.196 port 14758 [preauth]
</span><span style="color:#323232;">Nov 26 01:10:40 centos7test kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC= SRC=162.216.150.164 DST=
</span><span style="color:#323232;">lines 1377-1425/1425 (END)
</span>
MaximilianKohler OP , (edited ) to selfhosted in Listmonk email server, running via docker through nginx vhost. Resolves with port at the end but I get a 502 bad gateway error without the port.

I tried some of the solutions here serverfault.com/…/nginx-redirects-to-port-8080-wh…

proxy_set_header Host $host:$server_port; didn’t seem to change anything.

I also tried


<span style="color:#323232;">  proxy_pass http://listmonk.example.com:5870/;
</span><span style="color:#323232;">  proxy_redirect http://listmonk.example.com:5870/ http://listmonk.example.com/;
</span>

Maybe this stackoverflow.com/…/nodejs-on-nginx-not-working-w… is the answer, but I don’t understand it.

MaximilianKohler , to technology in YouTube Says New 5-Second Video Load Delay Is Supposed to Punish Ad Blockers, Not Firefox Users

I won’t pay for Youtube because they keep making their product worse and treating creators horribly.

MaximilianKohler OP , to selfhosted in A detailed guide for migrating Reddit subs to your own hosted forum (Xenforo). Including reddit-like titles, and optional threaded comment view.

The main issue is that Lemmy lacks many basic features that are included in Reddit, either by default or via RES and Toolbox addons. I listed some in the OP and the OP link.

I chose Xenforo because it’s been around for a long time, is feature-rich, and the most polished/professional software.

I also wasn’t considering hosting my own Lemmy instance at the time, which I now recognize as a future possibility, if it continues to develop more basic features.

MaximilianKohler OP , to selfhosted in A detailed guide for migrating Reddit subs to your own hosted forum (Xenforo). Including reddit-like titles, and optional threaded comment view.

That seems an argument not to start your communities on lemmy.world.

Lemmy.world was the main one targeted, but they all use the same software and have the same vulnerabilities.

you could just start a community on a friendly instance

The problem is knowing how long that instance will be friendly to you. Will they start blocking other instances you want to interact with? Will other instances start blocking them? And so on…

MaximilianKohler OP , to selfhosted in A detailed guide for migrating Reddit subs to your own hosted forum (Xenforo). Including reddit-like titles, and optional threaded comment view.

I’d be interested in your reasons why. The Lemmy limitations I listed are pretty important for me.

MaximilianKohler OP , to selfhosted in A detailed guide for migrating Reddit subs to your own hosted forum (Xenforo). Including reddit-like titles, and optional threaded comment view.

It is most aimed at community creators, not users. It’s true that users have limited options & autonomy either way.

But from my experience, forums tend to have less of the “mod corruption” issues that Reddit has. Probably because a forum is a monetary investment and they have an incentive to draw people in. Whereas lots of people just mod on reddit for power.

MaximilianKohler OP , to selfhosted in A detailed guide for migrating Reddit subs to your own hosted forum (Xenforo). Including reddit-like titles, and optional threaded comment view.

Lemmy only federates Lemmy instances as far as I know. Forums have lots of benefits that Lemmy instances do not. They’re way more polished due to being around for so much longer.

MaximilianKohler OP , to selfhosted in A detailed guide for migrating Reddit subs to your own hosted forum (Xenforo). Including reddit-like titles, and optional threaded comment view.

I had lots of important content I posted to reddit, as did other members of the community. The subs I ran weren’t fluff subs.

MaximilianKohler OP , to selfhosted in A detailed guide for migrating Reddit subs to your own hosted forum (Xenforo). Including reddit-like titles, and optional threaded comment view.

Forums are different for sure, but I think they’re similar enough. There’s even a phpBB front-end for Lemmy.

I picked Xenforo for my own reasons, but there are plenty of free forum software (which I listed in the link) that can be used.

I think the one thing missing is a way to federate forums.

MaximilianKohler OP , to selfhosted in How to send bulk/mass email with Amazon SES. 10,000-100,000 one-time emails, or thousands per day. Set up your own web server for newsletters. Mailchimp alternative

The pricing changed just last month so it’s no longer effectively free for small users but it’s relatively cheap (for now).

Well it was only free for 1 year. After that, you’d be paying for the EC2 instance. It’s roughly the same now. You can get cheaper hosting than EC2 but you’re paying a bit more for SES.

I looked at the prices you quoted for other services and they seem ridiculously high

Yeah it’s nuts. I think people with zero technical knowledge who want something fast are the ones paying for those services. It’s surprising there’s so many of them, but there is the fact that all the search results are dominated by their SEO blogs so it’s very hard to learn about other options.

But even if you’re not technically knowledgeable you can pay someone a month’s worth of what those other services charge, and they can setup a self-hosted server for you.

For example, even using SES, if you attempt to originate too many emails to one provider in a single call, they may start rejecting everything - I had to put counters into the code to limit how many gmail addresses would be sent with each iteration. SES also rate limits so you need to manage that somehow.

I haven’t had any issues with this. The starting rates are pretty generous and I’ve been approved for the increases I requested.

You’ll also need to be mindful of the bounce rate and complaints

Sure. Same as with any provider.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines