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

Auth doesn't work #49

Open
syabro opened this issue Aug 12, 2020 · 3 comments
Open

Auth doesn't work #49

syabro opened this issue Aug 12, 2020 · 3 comments

Comments

@syabro
Copy link

syabro commented Aug 12, 2020

I've added BASIC_AUTH_USER and BASIC_AUTH_PASS but when I go to http://localhost:8000 it doesn't ask for credentials - just show the directory listing.

My docker-compose

proxy:
  image: pottava/s3-proxy
  restart: always
  ports:
    - 8000:80
  environment:
    - AWS_REGION=us-east-1
    - AWS_ACCESS_KEY_ID=
    - AWS_SECRET_ACCESS_KEY=
    - AWS_S3_BUCKET=
    - ACCESS_LOG=true
    - DIRECTORY_LISTINGS=true
    - DIRECTORY_LISTINGS_FORMAT=html
    - BASIC_AUTH_USER=admin
    - BASIC_AUTH_PASS=pass
  container_name: proxy
``

@unfor19
Copy link

unfor19 commented Aug 27, 2020

Yup, same here, doesn't ask for credentials when providing BASIC_AUTH_USER and BASIC_AUTH_PASSWORD

Here are my logs-

s3-proxy-auth

@dev-d
Copy link

dev-d commented Feb 24, 2021

Issue seems to be fixed in version 1, but broken in version 2.0.0 and 2.0.1

@patrickdk77
Copy link

Do you want to try my fork? I tried to find why it wasn't working, but for me it works. Not sure what change I did that might have fixed it.

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

4 participants