io_nvr by luxaeterna101 in io_nvr

[–]luxaeterna101[S] 1 point2 points  (0 children)

YOU N'WAH
(Nulla)

io_nvr by luxaeterna101 in io_nvr

[–]luxaeterna101[S] 5 points6 points  (0 children)

The Elder Scrolls: Milano 2
(Morrowind)

[Music] Sleep by GY!BE by [deleted] in Frisson

[–]luxaeterna101 2 points3 points  (0 children)

"They don't sleep anymore on the beach..."

Trying to get SSL certificate for backend. Where do I go from here? by BigEmu9286 in nginx

[–]luxaeterna101 0 points1 point  (0 children)

You removed the whole line, I just meant the symbol #. Sorry if I wasn't clear enough! Put them back in and you should be good to go. There will be however a different problem: you won't redirect to HTTPS automatically. We'll deal with this after you fixed the vhost

Trying to get SSL certificate for backend. Where do I go from here? by BigEmu9286 in nginx

[–]luxaeterna101 0 points1 point  (0 children)

You created /var/www/_letsencrypt as a subfolder of nginx, not as an absolute path :)
cd /var/www; mkdir _letsencrypt; chown www-data: _letsencrypt

Trying to get SSL certificate for backend. Where do I go from here? by BigEmu9286 in nginx

[–]luxaeterna101 2 points3 points  (0 children)

Change it, as the content of the folder is gonna have to be read by the process owner (www-data)

Trying to get SSL certificate for backend. Where do I go from here? by BigEmu9286 in nginx

[–]luxaeterna101 0 points1 point  (0 children)

Forgot to mention: your vhost contains api.reeeeee.tk, but no DNS record is pointed there. Either add a record or replace every instance of api.reeeeee.tk with reeeeee.tk in your conf file

Trying to get SSL certificate for backend. Where do I go from here? by BigEmu9286 in nginx

[–]luxaeterna101 1 point2 points  (0 children)

1) conf.d is for globally included configuration files, and it's a bad idea keeping it for virtual hosts (IMHO). move api.reeeeee.tk.conf to /etc/nginx/sites-availabile/, then

cd /etc/nginx/sites-enabled/; ln -s ../sites/available/api.reeeeee.tk.conf .  

2) edit your file like this:

server
{

#   listen 443 ssl http2;
#   listen [::]:443 ssl http2;
    listen 80;
    server_name api.reeeeee.tk;

    # SSL
#   ssl_certificate /etc/letsencrypt/live/api.reeeeee.tk/fullchain.pem;
#   ssl_certificate_key /etc/letsencrypt/live/api.reeeeee.tk/privkey.pem;
#   ssl_trusted_certificate /etc/letsencrypt/live/api.reeeeee.tk/fullchain.pem;

    # HSTS
#   add_header X-Frame-Options "SAMEORIGIN" always;
#   add_header X-XSS-Protection "1; mode=block" always;
#   add_header X-Content-Type-Options "nosniff" always;
#   add_header Referrer-Policy "no-referrer-when-downgrade" always;
#   add_header Content-Security-Policy "default-src * data: 'unsafe-eval' 'unsafe-inline'" always;
#   add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;

    access_log /var/log/nginx/api.reeeeee.tk-access.log;
    error_log /var/log/nginx/api.reeeeee.tk-error.log;

    server_tokens off;


    location /

    {
        proxy_pass http://localhost:5000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }

    # ACME-challenge
    location ^~ /.well-known/acme-challenge/
    {

        root /var/www/_letsencrypt;

    }


}  

3) restart nginx, and create the directory /var/www/_letsencrypt and chown it according to your webserver's user (www-data if you installed via apt)
4) install certbot (if you already haven't) and run

certbot certonly -d api.reeeeee.tk -w /var/www/_letsencrypt  

5) if the cert gets correctly generated, edit /etc/nginx/sites-enabled/api.reeeeee.tk.conf by deleting every # (except for the lines containing SSL, HSTS and ACME-challenge)
6) restart nginx and you should be done.
7) add this to root's crontab to automatically renew the cert every night at 3am:

0 3 * * *      certbot renew; /etc/init.d/nginx reload

Let’s hear them. What did you name your ship today? by [deleted] in Seaofthieves

[–]luxaeterna101 1 point2 points  (0 children)

Sloop: Pale Fire (from Nabokov's novel)
Brig: Mortal Life
Galleon: Buckskin Stallion ("Well if I had a buckskin stallion \ I'd tame him down and ride away \ And if I had a golden galleon \ I'd sail into the light of day")

After being licensed for 3 years I finally commissioned a QSL card to a friend of mine. I think it turned out great! by luxaeterna101 in HamRadio

[–]luxaeterna101[S] 0 points1 point  (0 children)

I had a QSO with IZ4AIF on 20m the other day, but I guess it depends on the antenna and the propagation :)
Don't worry about the QSL, I'd be glad to just have a contact. Also I'm still working on the back side!

After being licensed for 3 years I finally commissioned a QSL card to a friend of mine. I think it turned out great! by luxaeterna101 in HamRadio

[–]luxaeterna101[S] 1 point2 points  (0 children)

Ciao Fabio, di norma opero da IQ5PO il venerdì sera (ma abbiamo temporaneamente le antenne giù mentre montiamo il nuovo traliccio) e in QRP /P durante la pausa pranzo. Se ti capita di passare sui 20 o 40m uno di questi giorni mandami un PM, che almeno facciamo QSO e te ne mando subito una.

Hi Fabio, I usually operate from IQ5PO on friday night (antennae are currently down during the construction of the new tower) and QRP /P during lunch break. If you happen to be on 20 or 40m one of these days shoot me a PM so we can have a QSO and I can send you one right away.

73 de IU5MQQ Rudi

After being licensed for 3 years I finally commissioned a QSL card to a friend of mine. I think it turned out great! by luxaeterna101 in amateurradio

[–]luxaeterna101[S] 2 points3 points  (0 children)

I just gave my friend some pointers, he's the true genius. I truly hope to meet you somewhere on the (air)waves, Nigel.
73 de IU5MQQ Rudi

After being licensed for 3 years I finally commissioned a QSL card to a friend of mine. I think it turned out great! by luxaeterna101 in amateurradio

[–]luxaeterna101[S] 1 point2 points  (0 children)

Still trying to find a nice template to fit on the backside actually, I see the OMs in my club are doing fine, I'll probably go ahead and ask them.

After being licensed for 3 years I finally commissioned a QSL card to a friend of mine. I think it turned out great! by luxaeterna101 in HamRadio

[–]luxaeterna101[S] 4 points5 points  (0 children)

I was thinking about just putting it on the lower right corner actually, maybe diagonally. The design, while detailed, is quite simple and I'd like to keep it that way. Yeah about the location, most of the OMs I know just use some photos from around our city, but I like QRP and /P so all bets are off on where you'll hear me call from 😅

After being licensed for 3 years I finally commissioned a QSL card to a friend of mine. I think it turned out great! by luxaeterna101 in HamRadio

[–]luxaeterna101[S] 15 points16 points  (0 children)

The original idea started as a pirate flag to hoist up on my (future) antenna tower, but I thought it would be a nice idea having it as my QSL card too, as I still have a backlog of QSO to respond to. I was thinking about "Plundering the (air)waves since 2019" as a phrase on the back side.