sorted by: new top controversial old
[-] spirinolas@lemmy.world 1 points 6 days ago* (last edited 6 days 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 6 days ago

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

[-] spirinolas@lemmy.world 1 points 6 days ago

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

8
submitted 6 days ago* (last edited 6 days ago) by spirinolas@lemmy.world to c/selfhosted@lemmy.world

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 1 points 1 week ago

There is a King and Queen of England though.

  • walks with butt *
[-] spirinolas@lemmy.world 5 points 1 week ago

"Quick, say hello in Latin!"

[-] spirinolas@lemmy.world 4 points 2 weeks 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 1 points 2 weeks ago

I do, unfortunately there are no efficient alternatives.

[-] spirinolas@lemmy.world 23 points 3 weeks ago

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 3 weeks ago

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 1 month ago

You mean Aixa-cay Eral-jay de Epósitos-day?

[-] spirinolas@lemmy.world 1 points 1 month ago

Portuguese too: "a montanha pariu um rato"

375
submitted 4 months ago by spirinolas@lemmy.world to c/world@lemmy.world
1
submitted 7 months ago* (last edited 7 months ago) by spirinolas@lemmy.world to c/lemmyshitpost@lemmy.world

My girlfriend started taking a Masters in a college this year. In her course the faculty have shown some disorganization and computer illiteracy since day one but the latest one...completely killed me.

Besides their personal college e-mail, they wanted a platform to make announcements for all the course (20 students). I can think of a thousand ways to do this. Hell, even a Facebook group would be better. But no...

They have an e-mail address (like Masters_name@college.duh) where all the info is sent and EVERYBODY has the password to enter the e-mail and check the inbox.

That is it. I have no words. I think this is the most idiotic and dumb thing I've ever seen in IT.

11
view more: next ›

spirinolas

joined 1 year ago