Skip to content

Instantly share code, notes, and snippets.

View guilebc's full-sized avatar
🏠
Working from home

Guillaume guilebc

🏠
Working from home
View GitHub Profile
@lukaskleinschmidt
lukaskleinschmidt / HandleInertiaRequests.php
Last active November 24, 2024 08:22
inertia-laravel multiple root views
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Inertia\Middleware;
class HandleInertiaRequests extends Middleware
{
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active November 4, 2025 20:51
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).