Valmond

joined 2 years ago
[–] Valmond@lemmy.ml 6 points 1 year ago (2 children)

And usability, windows gets more and more complicated IMO, and not in the "fun" way Linux can be completed.

[–] Valmond@lemmy.ml 1 points 1 year ago (1 children)

Anyone knows what maintainers should do to patch the vulnerability?

[–] Valmond@lemmy.ml 3 points 1 year ago (1 children)

TIL, I always thought the sound made the law (so a URL but not an URL)

[–] Valmond@lemmy.ml 1 points 1 year ago

I'm off one week on holidays, will sure post all config when I come back, thanks again!

[–] Valmond@lemmy.ml 3 points 1 year ago (1 children)

I had one main account but also a couple for using when I didn't want to mix my "private" life up with other things. I don't even know if it's not allowed in the TOS?

Anyway, I stupidly made a Valmond account on several Lemmy instances before I got the hang of it, and when (if!) my server will one day function I'll make an account there so ...

I guess it might be like in the old forum days, you have a respectable account and another if you wanted to ask a stupid question etc. admin would see (if they cared) but not the ordinary users.

[–] Valmond@lemmy.ml 47 points 1 year ago (15 children)

Over a houndred dollars for 700 upvotes O_o

I wouldn't exactly call that cheap 🤑

On the other hand, ten or twenty quick downvotes on an early answer could swing things I guess ...

[–] Valmond@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (4 children)

Hello !

I followed your instructions, taking the:

lemmy-ansible/templates/nginx_internal.conf

and sticking:

lemmy-ansible/templates/nginx.conf

in the "http {" section + changing all the {{domain}} to lemmy.mindoki.com and changing the {{lemmy_port}} to 1236 (FYI: 0.0.0.0:1236 hits up Lemmy locally)

Saving it all off in the nginx nginx.conf file.

I feel exceedingly stupid, but is this the way to go? Because I get this error when I reload nginx:

nginx: [emerg] host not found in upstream "lemmy:8536" in /etc/nginx/nginx.conf:111

Cheers and thanks again!

Edit: removing the upstreams, changed the backend proxy_pass, but to no avail...

[–] Valmond@lemmy.ml 1 points 1 year ago

Thank you I will do!

[–] Valmond@lemmy.ml 1 points 1 year ago

Good morning and thank you, I'll use your recommended config asap, and then be back with more questions most probably :-) !

[–] Valmond@lemmy.ml 1 points 1 year ago (7 children)

Thank you and yes, yes it does clarify a lot how nginx is working!

I'm trying to use use the conf file coming with lemmy docker install, and after some searching I don't even know if this is deprecated or not (it's in the http{} ), or how I should tell nginx the information about where to find the docker devices:

upstream lemmy {
    # this needs to map to the lemmy (server) docker service hostname
    server "lemmy:8536";
}
upstream lemmy-ui {
    # this needs to map to the lemmy-ui docker service hostname
    server "lemmy-ui:1234";
}

Also, shouldn't I tell nginx to listen to port 80?

Also, I get this error when I run "sudo nginx -s reload" and I don't even understand what it means:

nginx: [emerg] host not found in upstream "lemmy" in /etc/nginx/nginx.conf:53

Thank you again, I'm a slow learner!

[–] Valmond@lemmy.ml 1 points 1 year ago (2 children)

Thank you very much!

I still haven't proved it all works, I get a JSON error when trying to enter the admin credentials, but one step at a time!

Cheers

[–] Valmond@lemmy.ml 1 points 1 year ago (10 children)

Thanks a bunch, but that is still quite incomprehensible for me, which means that either I'll just fool around trying to get it right (which is not what I want to do) or learn it all the hard way (which I try to escape :-) ) or get some clever help ^^

Should I change: default "http://lemmy-ui"; "~^(?!(GET|HEAD)).*:" "http://lemmy"; proxy_pass "http://lemmy"; to my website somehow (I have an A redirect from lemmy.mindoki.com to my external IP => route to the linux box)?

Thanks again!

view more: ‹ prev next ›