[SUPPORT] SmartPhoneLover - 2FAuth


Recommended Posts

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 by MBacx
Found more infromation
Link to comment
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 by Bollo157
Added info
Link to comment
  • 4 months later...
  • 2 months later...
  • 2 months later...
  • 1 month later...
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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.