James E. Blair 56968a9c80 Fix authorization URL
We need to return the actual public URL of the server as part of
the www-authenticate header.  Add that as a config option.

Also, handle the case where clients supply more than one scope=
parameter when obtaining a token.

Change-Id: Ic6a50083303c0cee5361e62e8dccf8d4cf07a836
2019-10-09 09:49:30 -07:00

15 lines
284 B
YAML

registry:
address: '0.0.0.0'
port: 9000
public-url: https://localhost:9000
tls-cert: /tls/cert.pem
tls-key: /tls/cert.key
secret: test_token_secret
users:
- name: testuser
pass: testpass
access: write
storage:
driver: filesystem
root: /storage