Fixed login with only ip:port access
This commit is contained in:
25
README.md
25
README.md
@@ -68,7 +68,30 @@ The application will be available at: `http://localhost:5172`
|
||||
|
||||
## Configuration
|
||||
|
||||
### 1. Configure Mailcow Connection
|
||||
### 1. Access Mode Configuration
|
||||
|
||||
The application supports two access modes:
|
||||
|
||||
**Direct Access (Default)** - Access via IP:port
|
||||
- Set `ENABLE_PROXY=false` in `docker-compose.yml` (default)
|
||||
- Access at: `http://your-server-ip:5172`
|
||||
- Works over HTTP (no HTTPS required)
|
||||
- Perfect for internal/LAN access
|
||||
|
||||
**Proxy Access** - Access via reverse proxy (Authelia, Nginx, Traefik, etc.)
|
||||
- Set `ENABLE_PROXY=true` in `docker-compose.yml`
|
||||
- Access at: `https://alias.yourdomain.com` (through your proxy)
|
||||
- Requires HTTPS
|
||||
- See [PROXY_SETUP.md](PROXY_SETUP.md) for detailed configuration
|
||||
|
||||
**To switch modes:**
|
||||
1. Edit `docker-compose.yml` and change `ENABLE_PROXY` value
|
||||
2. Restart: `docker compose down && docker compose up -d`
|
||||
3. Clear browser cookies and login again
|
||||
|
||||
---
|
||||
|
||||
### 2. Configure Mailcow Connection
|
||||
|
||||
You can configure your Mailcow server connection either:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user