Hello!!
in my new Vaultwarden installation with docker I’m trying to enable the admin page. I just followed what the wiki says about the admin token but when I try to go to my domain.com/admin it returns me the following error:
The admin panel is disabled, please configure the ‘ADMIN_TOKEN’ variable to enable it
I’ve tried to put some easy token like 123456, some really hard generated with the " openssl rand -base64 48", put some “quotations” before and after but the result is always the same.
If I use the “Disable_admin_token” I can access without problem, so the nginx server is working ok.
What I am missing?
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
environment:
- WEBSOCKET_ENABLED:true
- ADMIN_TOKEN:randomPassword40characters
volumes:
- ./vaultwarden/vw-data:/data
ports:
- 80:80
nginx:
image: nginx:latest
container_name: nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./certs/xxxx.crt:/etc/nginx/xxxx.crt
- ./certs/yyyy.key:/etc/nginx/yyyyy.key
ports:
- 1080:80
- 1443:443
restart: unless-stopped
Thank you so much.
Best regards