Skip to content
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

nginx example config for proxying redis-stat #60

Closed
mmattel opened this issue Dec 9, 2016 · 2 comments
Closed

nginx example config for proxying redis-stat #60

mmattel opened this issue Dec 9, 2016 · 2 comments

Comments

@mmattel
Copy link
Contributor

mmattel commented Dec 9, 2016

Referencing #56

Intention: act as a startingpoint to help others setting it up properly...

        location /your-access-page/ {
                # maybe you want to add authentication...
                auth_basic "Auth Text";
                auth_basic_user_file /your-path/auth-file;

                #
                proxy_set_header        Host                $host;
                proxy_set_header        X-Real-IP           $remote_addr;
                proxy_set_header        X-Forwarded-Host    $host;
                proxy_set_header        X-Forwarded-Server  $host;
                proxy_set_header        X-Forwarded-For     $proxy_add_x_forwarded_for;
                proxy_pass		http://127.0.0.1:63790/;
        }
@mmattel
Copy link
Contributor Author

mmattel commented Dec 12, 2016

When you close this, it will be hard to find (same for #58).
Mind to either put that to the readme.md or create a wiki with a reference from the readme.md?

@junegunn
Copy link
Owner

I briefly mentioned it in https://github.com/junegunn/redis-stat/releases/tag/0.4.14
Feel free to create a wiki page. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants