37
submitted 1 year ago* (last edited 1 year ago) by interdimensionalmeme@lemmy.ml to c/selfhost@lemmy.ml

Of course, after than, whatever you've just plugged into it, will most likely not work

502 Bad Gateway
504 Gateway Timeout
X-Forwarded-For

The solution is probably somewhere deep in the bowels of whatever you're trying to make work

It will look obvious once you've figured out, that's why it wasn't mentioned next to the bunch of instruction you pasted into your console to install the thing

Just another day walking in the forest of papercuts

you are viewing a single comment's thread
view the rest of the comments
[-] 9point6@lemmy.world 10 points 1 year ago* (last edited 1 year ago)

Nginx config is pretty quick to cobble together in a text editor, personally I'd just bin off whatever this tool is and save the hassle.

There's always the risk of frontend tools like this being abandoned, so you might as well just learn the actual config format for the thing you're configuring

[-] whyNotSquirrel@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

I just cp one of the config files in /etc/nginx/site-available when I need to create a new one

[-] TechieDamien@lemmy.ml 1 points 1 year ago

Yep, just pick the one closest to what you want, eg static site, reverse proxy, etc. Then remove the ssl stuff and get certbot to regenerate it with your new certificate. (Don't forgot ipv6 if you have it enabled on your system)

[-] notarobot@lemmy.zip 2 points 1 year ago

That is only better if you actually know what you are doing. I don't do it often, and never remember how I should handle the io if nginx is in a docker and the services is in another. So this let's me try things quickly

this post was submitted on 15 Aug 2025
37 points (95.1% liked)

Self Hosted - Self-hosting your services.

20946 readers
19 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Cross-posting

If you see a rule-breaker please DM the mods!

founded 5 years ago
MODERATORS