-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to see the hostname #396
Comments
How is your setup? One database with multiple frontend webservers (HA-setup)? |
Confirm |
AWS ELB in front to a pool of servers. Session stickyness to be able to configure the application. This is sub-optimal for load distribution but required since sessions are not kept in the DB so switching from one server to another breaks things. Would be useful to put the session in the DB/Redis to avoid using sticky connections. Not a real problem when you have a lot of clients clicking since they are evenly spread in any case. |
You can set the session driver to redis in the
|
Would showing the server name on |
Yes of course, but having it handy (even in some fine print format) whould be better. |
@overint Where do I find doc about configuring redis settings? |
Ok, this shows me how to code using laravel and redis. My question was: is there some PolR documentation about how to setup redis sessions? You mentioned to change a line adding |
You will need to add the redis vars to your .env, as below:
|
Sorry for the late reply, had time to test only today. |
Also tried to create a config/database.php file from some online examples with no luck. |
You will likely need to check your |
I wrote it above, nothing in the error.log. |
I meant to say the |
No such file, but found |
In a multi-server configuration it should be useful to see the server name
Expected Behavior
Have a config variable to enable this at two levels:
APP_SHOW_SERVER_NAME = 1
Show the server name in the top bar of the app
The same set to 2 can display the server name ALSO as a comment inside the html of the login page
Set to 0: non server name (same as today)
Current Behavior
Cannot know which server I'm going to
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
git rev-parse HEAD
):The text was updated successfully, but these errors were encountered: