diff --git a/README.md b/README.md index 8966f350..b8aef8b0 100755 --- a/README.md +++ b/README.md @@ -107,6 +107,8 @@ docker compose up -d Open **http://localhost:8086**. That's it. +If you want to access the server remotely set the OXICLOUD_BASE_URL to your server's domain/port or the authentication will fail after setting up the admin user. + ### From source Requires **Rust 1.93+** and **PostgreSQL 13+**. diff --git a/example.env b/example.env index 80e10b9e..48a9249a 100755 --- a/example.env +++ b/example.env @@ -26,6 +26,7 @@ OXICLOUD_SERVER_HOST=127.0.0.1 # Public base URL for generating share links and external URLs # If not set, defaults to http://{OXICLOUD_SERVER_HOST}:{OXICLOUD_SERVER_PORT} +# Authentication fails if this is not set and you access the host remotely via a domain # Example: https://cloud.example.com #OXICLOUD_BASE_URL=https://cloud.example.com @@ -189,4 +190,4 @@ MIMALLOC_PURGE_DELAY=0 # 1 = enabled (better TLB performance on bare-metal servers with plenty of RAM) # When enabled with Linux Transparent Huge Pages (THP), partially-used 2 MiB # pages inflate the reported RSS by up to 20-30 MiB. -MIMALLOC_ALLOW_LARGE_OS_PAGES=0 \ No newline at end of file +MIMALLOC_ALLOW_LARGE_OS_PAGES=0