April 9, 20233 yr On 4/7/2023 at 12:29 PM, Squid said: Is the network type set to "Bridge"? Anything other than bridge and by definition all port mappings are ignored as port mappings only make sense in bridge mode It's set to `custom : br0`, so that I can assign an IP and a dns alias. EDIT: After quick digging, 2fauth just spawns nginx inside the docker container to serve the files and the nginx config does not repect the env var. Nginx config found at a couple of places, but `/etc/nginx/nginx.conf` seems to be the one the container uses. So I just mounted my own config there with the port I want and problem fixed. Bit hacky, but does the job until it gets fixed upstream. Edited April 9, 20233 yr by MBacx Found more infromation
April 10, 20233 yr On 4/9/2023 at 11:36 AM, MBacx said: It's set to `custom : br0`, so that I can assign an IP and a dns alias. EDIT: After quick digging, 2fauth just spawns nginx inside the docker container to serve the files and the nginx config does not repect the env var. Nginx config found at a couple of places, but `/etc/nginx/nginx.conf` seems to be the one the container uses. So I just mounted my own config there with the port I want and problem fixed. Bit hacky, but does the job until it gets fixed upstream. Do you have SSL / HTTPS up and running? I cant get it working I also used a custome network bridged interface. Error: Fehlercode: SSL_ERROR_RX_RECORD_TOO_LONG Edited April 10, 20233 yr by Bollo157 Added info
April 14, 20233 yr After latest Update Having Php error: image not customized by env build arguments ...
April 15, 20233 yr 17 hours ago, Masterwishx said: After latest Update Having Php error: image not customized by env build arguments ... same requires higher version of PHP to run
April 18, 20233 yr On 4/15/2023 at 7:11 PM, nktm85 said: same requires higher version of PHP to run Opened issue on github and author has fixed in v4.01
April 22, 20233 yr I am currently running the latest version 4.0.2, using my docker bridged network. I am struggling to get HTTPS to work is there a method to do this?
September 13, 20232 yr @SmartPhoneLover is https://raw.githubusercontent.com/SmartPhoneLover/unraid-docker-templates/main/templates/icons/2fauth.png not available anymore ?
September 19, 20232 yr On 9/13/2023 at 5:40 PM, Masterwishx said: @SmartPhoneLover is https://raw.githubusercontent.com/SmartPhoneLover/unraid-docker-templates/main/templates/icons/2fauth.png not available anymore ? I noticed this too and that 2FAuth is no longer available in the CA
September 19, 20232 yr 27 minutes ago, timmyx said: I noticed this too and that 2FAuth is no longer available in the CA Also other containers of user
September 19, 20232 yr Yes.... weird enough. But my 2fauth is still working, it's just the icon missing
September 19, 20232 yr Nothing weird about it. The Repo doesnt exist anymore. On 9/17/2023 at 8:26 PM, Squid said: That entire GitHub repository was deleted by the maintainer / author, so what you're seeing is correct and to be expected (and also why the apps are no longer within Apps). Use a different URL.
December 1, 20232 yr I just found about this App last night and was all excited to install it today. However, it seems that this is no longer available. Is there a way I can install it as it seems to be exactly what I am looking for.
February 25, 20242 yr For anyone who updated and can no longer access the webui just change the release to 2fauth/2fauth:5.0.2
April 15, 20242 yr On 2/24/2024 at 6:42 PM, wkipling said: For anyone who updated and can no longer access the webui just change the release to 2fauth/2fauth:5.0.2 This app does not work for me anymore. I tried changing the release, but still get a blank page
July 30, 20241 yr For anyone whose 2fauth app just loads a blank screen and SSL (via reverse proxy) not working correctly, I was able to fix by added two variables to the container: ASSET_URL: use your reverse proxy domain TRUSTED_PROXIES: with value * (I think because the app is loading assets from outside domain, you have to set this otherwise the SSL certificate will fail) This is on UNRAID: v6.12.4 2FAuth – v5.2.0 Reverse Proxy Docker: Swag
January 2, 20251 yr On 7/31/2024 at 12:31 AM, nktm85 said: For anyone whose 2fauth app just loads a blank screen and SSL (via reverse proxy) not working correctly, I was able to fix by added two variables to the container: ASSET_URL: use your reverse proxy domain TRUSTED_PROXIES: with value * (I think because the app is loading assets from outside domain, you have to set this otherwise the SSL certificate will fail) This is on UNRAID: v6.12.4 2FAuth – v5.2.0 Reverse Proxy Docker: Swag I just wanted to thank you, because I really needed this! It worked perfectly.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.