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.

Nginx not startable / no webUI error in servers.conf:35

Featured Replies

HI,

I have a big problem :/ I can't connect to my web UI... When entering via SSH and trying to start Nginx manually via console I get:
nginx: [emerg] invalid number of arguments in "return" directive in /etc/nginx/conf.d/servers.conf:35 

 

login as: root
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server
Linux 5.15.30-Unraid.
root@nas:~# /etc/rc.d/rc.nginx status
Nginx is not running
root@nas:~# /etc/rc.d/rc.nginx start
Starting Nginx server daemon...
nginx: [emerg] invalid number of arguments in "return" directive in /etc/nginx/conf.d/servers.conf:35


I also attached the diagnostics log.... maybe someone find something suspicious there

 

Can anybody help me? I searched the web for over an Hour but seems like I'm too stupid to get this fixed :/ 

nas-diagnostics-20220412-0137.zip

Edited by majo23
link

  • Author

since I had some other issues with Nginx as well - maybe it would be best if I reformat the flash drive completely... 

I can save the array by keeping the Diskorder completely like it was - but what about docker containers? Will I lose them by using a fresh unraid stick?

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.