-
Notifications
You must be signed in to change notification settings - Fork 728
Fix login redirect from FQDM/webmin #627
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
base: master
Are you sure you want to change the base?
Conversation
Login behind reverse proxy with SSL enabled results in a redirect from FQDM/webmin to localhost:1000 due to a an issue in the miniserv conf file. This change fixes that. Logins are now redirect properly.
|
See: #615 |
|
Are you sure this isn't going to break redirects in the normal non-proxy case? |
|
Good point! It does seem to break redirects in non-proxy cases. I tried playing around with the following tonight and it doesn't seem to work as expected: That configuration will work for normal non-proxy, but seems to fail when proxied, am I missing something? |
|
I really don't think this is the correct fix for everyone. How is your proxy configured exactly? |
|
@jcameron It probably isn't the correct fix for everyone, but an fix for people who are having issues with reverse proxies. Did you read through #615 ? My reverse proxy is though Apache 2, setup as the following: I have redacted some information with asterisks (*), I encourage you to read through the issue I linked. It doesn't seem to be just me who's having this issue. If there's another way to fix this, then I'd like to hear your thoughts. The change I PR was the only way to prevent the issue from happening on my end. |
|
May be related? Trying to set to Off option |
|
Can definitely say it is related! With the original unmodified miniserv.pl, having Should probably add that to the documentation. Secondly, why would enabling it break Webmin logins? Some of my back end apps, such as Mattermost, require it to be enabled on my Apache reverse proxy. This makes it slightly more inconvenient now that I need seperate configs in Apache only for Webmin to have the |
6ec1f01 to
75f0ca4
Compare
Login behind reverse proxy with SSL enabled results in a redirect from FQDM/webmin to localhost:10000 due to a an issue in the miniserv conf file. This change fixes that. Logins are now redirect properly.