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
Work with groonga-httpd with BASIC authentication #1
Comments
|
This patch makes my expected response by diff --git a/groonga-httpd.conf b/groonga-httpd.conf
index 0279737..962f84c 100644
--- a/groonga-httpd.conf
+++ b/groonga-httpd.conf
@@ -44,6 +44,9 @@ http {
server_name localhost;
location /d/ {
+ auth_basic "Restricted";
+ auth_basic_user_file /etc/nginx/.htpasswd;
+
groonga on;
# You can disable log for Groonga.
groonga_log_path /var/lib/groonga/log/log;After applying this patch, |
|
I use embulk-output-groonga v0.1.2 so this problem is fixed. Thanks! :) |
|
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(日本語)twitterでご連絡したとおりの内容です。設定内容や手順など書きましたので調査のご参考になれば幸いです。(ファイルは多かったのでgistに入れました)もし何かありましたらこちらのコメントもしくはtwitterにてご連絡いただければ幸いです。
Hi,
I use embulk-output-groonga to insert data to groonga-httpd.
The groonga-httpd server has configuration for BASIC authentication, but I can do it without id/pass for BASIC auth unexpectedly. Would you please tell me this is the correct work ?
I prepare files to reproduce this, here https://gist.github.com/yoshihara/bed63fca0f852aed282f93f7c73b9e99 .
This groonga-httpd server has BASIC authentication
groonga/test.How to reproduce:
% sudo docker build -f Dockerfile -t yoshihara/groonga-test ./ % sudo docker run -v $PWD:/groonga -p 10041:10041 -d yoshihara/groonga-test % embulk run embulk_config.ymlThis is
embulk runoutput:Using Groonga version is 6.1,5. embulk-output-groonga is 0.1.1.
Thanks.
The text was updated successfully, but these errors were encountered: