chore(env): update production environment variables and enhance proxy handling in Nginx configuration

This commit is contained in:
2026-06-07 22:20:03 +03:30
parent d1d42b38d1
commit ca43502ffb
5 changed files with 19 additions and 4 deletions

View File

@@ -251,7 +251,7 @@ return [
* Edit to trust the proxy's ip address - needed for AWS Load Balancer
* string[]
*/
'proxy' => false,
'proxy' => env('L5_SWAGGER_BEHIND_PROXY', '*'),
/*
* Configs plugin allows to fetch external configs instead of passing them to SwaggerUIBundle.
@@ -315,7 +315,7 @@ return [
* Constants which can be used in annotations
*/
'constants' => [
'L5_SWAGGER_CONST_HOST' => env('L5_SWAGGER_CONST_HOST', 'http://my-default-host.com'),
'L5_SWAGGER_CONST_HOST' => env('L5_SWAGGER_CONST_HOST', env('APP_URL', 'http://localhost')),
],
],
];