Skip to content
Discussion options

You must be logged in to vote

Heh. It isn't. I could probably write a book about the problem you are stuck on, and we have all been stuck on some version of this problem. I don't want to spoil it for you because it's a good learning experience for how the web works... but I will give you a direction.

I recommend reading up on https://laravel.com/docs/11.x/urls and note:

The generated URL will automatically use the scheme (HTTP or HTTPS) and host from the current request being handled

So you need to figure out one of two options:

  1. How to keep the original https request to your application visible to your application. (Not sure how to do this with caddy tbh)
  2. Manually set the application url in your env and do not rely…

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
12 replies
@Asociateone
Comment options

@withinboredom
Comment options

Answer selected by Asociateone
@Asociateone
Comment options

@larsverp
Comment options

@Asociateone
Comment options

@dunglas
Comment options

Comment options

You must be logged in to vote
3 replies
@7system7
Comment options

@7system7
Comment options

@Elemtro
Comment options

Comment options

You must be logged in to vote
1 reply
@henderkes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants