spirinolas

joined 1 year ago
[–] spirinolas@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

The correct URL appears in the browser but the page shows a 404. According to the logs they don't exist...but they're there...

[–] spirinolas@lemmy.world 1 points 2 months ago (2 children)

It was the first "solution" on google. Didn't work.

[–] spirinolas@lemmy.world 1 points 2 months ago (2 children)

I already went through that. I wouldn't post here without starting with the official documentation.

 

I developed an app in Laravel that uses Google authentication, it works perfectly on my localhost. When I deployed it in my nginx server (ubuntu 24.04) I get the Google login correctly and it proceeds to my main page as expected. But after that, no route is accessible. All of them throw me a 404. I've been googling it for ages but I can't for the life of me find the solution for this.

EDIT: The 404 comes from Laravel, not nginx. The weird part is if I try php artisan route:list on the ser the routes are indeed missing but on the localhost they all show. The code is pretty much the same.

Here's is my app conf file:

server {
    server_name partituras-cmcgb.duckdns.org;
    root /var/www/html/partviewer/public;

    index index.php index.html index.htm;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }

    location ~ /\.ht {
        deny all;
    }

    error_log /var/log/nginx/partviewer-error.log;
    access_log /var/log/nginx/partviewer-access.log;

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/partituras-cmcgb.duckdns.org/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/partituras-cmcgb.duckdns.org/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
    if ($host = partituras-cmcgb.duckdns.org) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    listen 80;
    server_name partituras-cmcgb.duckdns.org;
    return 404; # managed by Certbot


}
[–] spirinolas@lemmy.world 5 points 2 months ago (1 children)

"Quick, say hello in Latin!"

[–] spirinolas@lemmy.world 4 points 2 months ago

I also used Spotify but it has a serious problem. There's no guarantee your contents will be always available. I had music there that, for whatever reason, was removed and I can no longer listen to it. Not to mention music that was never available there. I don't want them to control what I can and can't listen.

Now I only use Jellyfin. It works great (except on Android Auto, but they'll get there). Sure I have to download the MP3 but you only have to do it once and then it will always be there. Just use spotDL and rip the music right out of Spotify with all the metadata.

[–] spirinolas@lemmy.world 5 points 2 months ago (1 children)

Eat the rich with a straw!

[–] spirinolas@lemmy.world 31 points 2 months ago (4 children)

We should keep mouth movement to a minimum so...chew the rich with your mouth closed.

[–] spirinolas@lemmy.world 1 points 2 months ago

I do, unfortunately there are no efficient alternatives.

[–] spirinolas@lemmy.world 23 points 2 months ago (14 children)

I'm in the EU and use Windows 10 LTSC so I mostly clear off of this bulshit. A few months ago I bought a cheap refurbished laptop to use occasionally and decided from day 1 it would be Linux Mint only since I only use it for the basics.

A few months later and I'm surprised how far Mint came. It's so easy to use. Customizing it was a bit harder but nothing major. And to my surprise...even games. I threw a couple of games at it and everything the computer can handle would run. I was from the time where gaming on Linux was a no-no.

When LTSC support goes, I'll most likely go full Linux. The only problem is the Adobe software but maybe I can fix that with a virtual machine.

[–] spirinolas@lemmy.world 10 points 2 months ago (1 children)

This advice is what it is, but I work in a school and Tailscale also seems to be (unintentionally) blocked. After a while I realized it was only the login server that was blocked. If I login using my phone data I can go back to the regular network and it works.

[–] spirinolas@lemmy.world 1 points 2 months ago

How nice of him, he took the trash out as he left.

 

The title. I've been delaying long enough and I can't really wait anymore. I need a new GPU. I could really use some advice.

Right now I have a GTX 1060 3 GB with a Ryzen 7 2700X CPU and 32 GB RAM. Mostly I use it for gaming in 1080p but it's not impossible I'll eventually increase it (but unlikely).

I'll accept suggestions outside of my options but keep in mind the prices in my country are different. I'm not looking to buy used for various reasons (lack of warranty is one).

My options are:

RTX 3060 12 GB (290 euros)

RTX 4060 8 GB (330 euros)

RX 7600 XT 12 GB (380 euros)

RX 6750 XT 12 GB (400 euros)

RX 6700 XT 12 GB (420 euros)

RTX 4060ti 16 GB (480 euros)

I was really trying to keep it way below 400 euros. The 7600 XT is already a stretch but I could be convinced to raise the budget to the upper 400s for something with really good bang for buck.

I appreciate the help

UPDATE: In the end I decided to go for the RX 6750 XT for 405 euros but, as is my habit, I decided I should sleep on it. And thank god I did. The next day I went online and had already decided to buy it when I saw it was the store's birthday and they were doing some nice discounts and the 6750 was at 360 euros (limited to stock). I immediately bought. What are the odds?! She'll be here in a couple of days.

view more: next ›