I used the following command to create a 2fauth Docker container:
docker run -d --name=2fauth -p 8000:8000/tcp -v /docker/2fauth:/2fauth -e AUTHENTICATION_GUARD=web-guard --privileged=true -e ASSET_URL=https://xxx.com/ -e APP_URL=https://xxx.com/ -e TRUSTED_PROXIES=* 2fauth/2fauth
I used the following command to create a nginx Docker container:
docker run -p 80:80 -p 443:443 --name nginx -v /docker/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v /docker/nginx/log:/var/log/nginx -v /docker/nginx/ssl:/etc/nginx/ssl --privileged=true -d nginx:latest
I used the following command to create a 2fauth Docker container: docker run -d --name=2fauth -p 8000:8000/tcp -v /docker/2fauth:/2fauth -e AUTHENTICATION_GUARD=web-guard --privileged=true -e ASSET_URL=https://xxx.com/ -e APP_URL=https://xxx.com/ -e TRUSTED_PROXIES=* 2fauth/2fauth
I used the following command to create a nginx Docker container: docker run -p 80:80 -p 443:443 --name nginx -v /docker/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v /docker/nginx/log:/var/log/nginx -v /docker/nginx/ssl:/etc/nginx/ssl --privileged=true -d nginx:latest
and nginx.conf
But I found some issues:
why ???