mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Attempt to make proxy sub-dir -> app no subdir work (#9317)
Set APP_URL and APP_URL_SUFFIX in .env
This commit is contained in:
committed by
Neil Lathwood
parent
fcadd3ca65
commit
df850a3ed9
@@ -11,6 +11,11 @@
|
||||
|
|
||||
*/
|
||||
|
||||
// handle proxy with subdirectory and app without
|
||||
if ($appUrl = trim(config('app.url'), '/')) {
|
||||
\URL::forceRootUrl(str_finish(config('app.url'), '/') . config('app.url_suffix'));
|
||||
}
|
||||
|
||||
// Auth
|
||||
Auth::routes();
|
||||
|
||||
|
Reference in New Issue
Block a user