Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Setting LAN IP in env

Featured Replies

Does unraid OS automatically store the LAN IP anywhere? 

 

I'd like to automatically add the LAN_IP in the environmental variables on startup, and was wondering what the best way to achieve that is. 

 

I saw what teh command `env` provides, but no LAN IP there. 

  • Community Expert
21 hours ago, stevenxl said:

Does unraid OS automatically store the LAN IP anywhere? 

 

Are you talking about the IP of the server?   If so you can set it to a static value under Settings->Network.  Having said that it is often better to leave Unraid set to use DHCP and then set a static address for the server on your router.

  • Author
On 4/4/2025 at 7:55 AM, itimpi said:

Are you talking about the IP of the server?   If so you can set it to a static value under Settings->Network.  Having said that it is often better to leave Unraid set to use DHCP and then set a static address for the server on your router.

That is the IP that I am speaking of. However, what i want to do is the following in NGINX

 

env LAN_IP;

set $upstream_app $LAN_IP;

 

So if unraid knows its own LAN IP, I can set that as part of the environmental variables on startup.

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.