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 issue with ecdsa certificate

  • Minor

Hello all,

 

I have encountered a bug with Unraid, where emhttpd has issues creating the nginx config file when using a ecdsa-with-SHA512 certificate (RSA certs do not seem to have this issue). This cert was self signed with a CA trusted on a few of my devices. After a bit of digging, I saw that running the nginx command gave the following error:

 

nginx: [emerg] invalid number of arguments in "return" directive in /etc/nginx/conf.d/emhttp-servers.conf:39

 

At line 39, we can see the following (where XYZ Unraid is the CN of the certificate) :

server {
    #
    # Redirect http requests to https
    #
    listen *:80 default_server;
    listen [::]:80 default_server;
    return 302 https://XYZ Unraid:443$request_uri;
}

 The issue, in the meantime, can be fixed by replacing XYZ Unraid with $host:

server {
    #
    # Redirect http requests to https
    #
    listen *:80 default_server;
    listen [::]:80 default_server;
    return 302 https://$host:443$request_uri;
}

And then running nginx command again to apply the changes

 

Anyone who has a better idea of how this nginx file is created can take a look at this issue?

 

Thanks!

unraid SSL.jpg

unraid_bug_1.png

unraid_bug_2.png

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.