diff --git a/README.md b/README.md index 4d39676..6585c63 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,39 @@ php artisan sail-ssl:install After containers started, you can access https://localhost. +## Update AppServiceProvider + +Since the application is behind an Nginx reverse proxy that handles SSL, Laravel needs to be configured to generate HTTPS URLs. Add `URL::forceScheme('https')` to your `AppServiceProvider`: + +```php +