Blocked loading mixed active content #836
-
Ziggy versionv2.5.1 Laravel versionv12.8.1 Descriptionhi, I just using this ziggy and encounter some problem. I build app that using docker, local domain and local SSL (self signed). The problem is ziggy generated my app URL as What I already tried and still not work:
Strange thing is when I run this command this is my Ziggy call and contextLogin.vue
const submit = () => {
form.post(route('login'), {
onFinish: () => form.reset('password')
});
};Ziggy configurationconsole.log(Ziggy);
{
"url": "http://app.local",
"port": null,
"defaults": {},
"routes": {
"debugbar.openhandler": {
"uri": "_debugbar/open",
"methods": [
"GET",
"HEAD"
]
},
"debugbar.clockwork": {
"uri": "_debugbar/clockwork/{id}",
"methods": [
"GET",
"HEAD"
],
"parameters": [
"id"
]
},
"debugbar.assets.css": {
"uri": "_debugbar/assets/stylesheets",
"methods": [
"GET",
"HEAD"
]
},
"debugbar.assets.js": {
"uri": "_debugbar/assets/javascript",
"methods": [
"GET",
"HEAD"
]
},
"debugbar.cache.delete": {
"uri": "_debugbar/cache/{key}/{tags?}",
"methods": [
"DELETE"
],
"parameters": [
"key",
"tags"
]
},
"debugbar.queries.explain": {
"uri": "_debugbar/queries/explain",
"methods": [
"POST"
]
},
"register": {
"uri": "register",
"methods": [
"GET",
"HEAD"
]
},
"login": {
"uri": "login",
"methods": [
"GET",
"HEAD"
]
},
"password.request": {
"uri": "forgot-password",
"methods": [
"GET",
"HEAD"
]
},
"password.email": {
"uri": "forgot-password",
"methods": [
"POST"
]
},
"password.reset": {
"uri": "reset-password/{token}",
"methods": [
"GET",
"HEAD"
],
"parameters": [
"token"
]
},
"password.store": {
"uri": "reset-password",
"methods": [
"POST"
]
},
"verification.notice": {
"uri": "verify-email",
"methods": [
"GET",
"HEAD"
]
},
"verification.verify": {
"uri": "verify-email/{id}/{hash}",
"methods": [
"GET",
"HEAD"
],
"parameters": [
"id",
"hash"
]
},
"verification.send": {
"uri": "email/verification-notification",
"methods": [
"POST"
]
},
"password.confirm": {
"uri": "confirm-password",
"methods": [
"GET",
"HEAD"
]
},
"password.update": {
"uri": "password",
"methods": [
"PUT"
]
},
"logout": {
"uri": "logout",
"methods": [
"POST"
]
},
"index": {
"uri": "/",
"methods": [
"GET",
"HEAD"
]
},
"dashboard": {
"uri": "dashboard",
"methods": [
"GET",
"HEAD"
]
},
"storage.local": {
"uri": "storage/{path}",
"methods": [
"GET",
"HEAD"
],
"wheres": {
"path": ".*"
},
"parameters": [
"path"
]
}
}
}Route definitionRoute::middleware('guest')->group(function () {
Route::get('login', [AuthenticatedSessionController::class, 'create'])
->name('login');
Route::post('login', [AuthenticatedSessionController::class, 'store']);
}); |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Are your app's trusted proxies configured correctly? See https://github.com/tighten/ziggy?tab=readme-ov-file#tlsssl-termination-and-trusted-proxies |
Beta Was this translation helpful? Give feedback.
Are your app's trusted proxies configured correctly? See https://github.com/tighten/ziggy?tab=readme-ov-file#tlsssl-termination-and-trusted-proxies