Valmond

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

Tried to change to:

proxy_pass http://127.0.0.1:1236

but it didn't change anything.

Any other idea about what I'm doing wrong?

Should I have conf in both the nginx.conf file and the nginx_internal.conf file? Does it matter where it is declared (as long as the docker specific things stays in the nginx_internat.conf file)?

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

Well thank you but it doesn't really help me out with, for what I have figured out, connecting the server 443 in nginx to the lemmy-ui docker. Sweating

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

Well spotted, I misremembered it as the IPv6 localhost.

So the config file is okay (for proxy_pass http://0.0.0.0:1236;) but I shouldn't hit it up on https://0.0.0.0:1236 right?

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

Interesting, thanks for sharing!

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

That seems quite top of the line even today.

For battery life, the screen, the screen, the GPU (seems you use an IGP), the size of the screen, and the CPU are the main culprits.

64GB RAM will use some battery do you really need that much?

Hopefully your 1TB is an SSD otherwise an SSD is a nice upgrade.

There are also fat fat powerbanks for power users far away from a 110/220volt line!

I Am curious, most often power hungry laptops are gaming ones... What do you do with yours?

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

EDIT: The site itself works now, so I "only" need help with nginx :-)

EDIT: DISCARD THE FOLLOWING LINES (Strike-through doesn't seem to work):

~~BTW, I get a handful of errors when I start Lemmy :

thread 'main' panicked at 'Error connecting to postgres://lemmy:thepassword@postgres:5432/lemmy: could not connect to server: Connection refused

lemmy_1 | Is the server running on host "postgres" (172.18.0.2) and accepting

lemmy_1 | TCP/IP connections on port 5432?

I do not know at all where that 172.18.0.2 address comes from sweating :-D~~

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

Hello, I'm back with more questions and clarifications!

This is what I did to install Lemmy:

Install a fresh Linux Mint on an old PC.

Follow the 'official' docker install: https://join-lemmy.org/docs/administration/install_docker.html

I continued with nginx, lets encrypt etc.

I also installed PosgreSQL and added a user Lemmy.

I forward a TCP connection from my fix public IP to the lemmy PC and pointed lemmy.mindoki.com with an A redirection onto that public IP:PORT.

The only 'exotic' thing done was that I added these lines to /home/fediverse/.bashrc :

export LEMMY_CONFIG_LOCATION="/media/fediverse/Storage/lemmy/lemmy.hjson"

EMMY_DATABASE_URL="postgres://lemmy:redacted_password@localhost:5432/lemmy"

. "$HOME/.cargo/env"

I don't think (but not completely sure) that the last line was added by me manually.

Now I can access Lemmy locally on localhost:1236 and everything works (inscription, creations of 'subs' etc).

I added the nginx.conf config file at the end of this message (some lines are commented out to make it work at all).

Almost feels like I should have a very much shorter nginx config file 🙃

Thanks again!

Cheers

EDIT: I messed something up, the server now only answers "Server error", I'll be back later ...

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

Got a 3b a loong time ago and I love it, I use it as a jukebox and a tinker station.

Would love to get another one but man are they crazily expensive now. Tried the banana and orange pis and the are like okay but yep, they are different and doesn't seem to have the same community at all.

Chip shortage please go away!

Edit: I buy old dell optiplexes for like 40€ instead but they do take up quite the space...

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

Do you thing 3dstudio would work in a VM?

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

Matrix multiplications could be at least somehow multi threaded and few fields has been more optimized than displaying 3D. Do you mean simulations maybe?

I would have thought they were done mostly on the GPU nowadays?

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

As we all did with winxp, hangout and even facebook, and yeah a whole slew of stuff that did seem nice at one moment.

The next moment it wasn't there any more in the way we liked it!

FOSS on the other hand is here to stay.

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

Windows chance , and . depending on the language settings, so yeah so so simple and helpful :-/

view more: ‹ prev next ›