The is also Codeberg
- 0 Posts
- 8 Comments
BaalInvoker@lemmy.eco.brto Selfhosted@lemmy.world•I'm deploying a Laravel app on nginx. Only the main route works, every other throws me a 404English11·10 months agodeleted by creator
BaalInvoker@lemmy.eco.brto Selfhosted@lemmy.world•I'm deploying a Laravel app on nginx. Only the main route works, every other throws me a 404English12·10 months agoWhy are you using that?
location ~ /\.ht { deny all; }
You’re denying the access to your root, which is the
public/
folder and has the file.htaccess
that has<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Send Requests To Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule>
This file handles the income requests and send to the front controller.
BaalInvoker@lemmy.eco.brto Selfhosted@lemmy.world•I'm deploying a Laravel app on nginx. Only the main route works, every other throws me a 404English32·10 months agoI’m not sure, but looks like you’re denying all .htaccess files. Laravel depends on .htaccess to make things work properly
Take a look on Laravel docs - Deployment to make sure your configs are right
BaalInvoker@lemmy.eco.brto Selfhosted@lemmy.world•Alternative to Alexandrite Lemmy UI?English8·10 months agoI like Tesseract the most! It’s exactly a balance between Alexandrite and Photon
Does any of these in https://alternativeto.net/software/pastebin/?license=opensource works for you?
I guess you can set a host on your
/etc/hosts
to redirect all your pterodactyl.example.com to a local ip. Also, if you need access from other computers on the local network, I think you can set up a local DNS server (such as PiHole or AdGuard Home) to reach the same solution but for all address running though your DNS server
BaalInvoker@lemmy.eco.brto Selfhosted@lemmy.world•Recommendations please: Self-hosted web site analyticsEnglish1·1 year agoIm using Matomo, however my use case is different from yours. I run a business and need more complete data, which Matomo gives me
I also had in mind Plausible, cause it’s less resource demandant, but at the end I have chosen Matomo
Oh! Is it?
Well, living and learning haha