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.

YOURLS NGINX error

Featured Replies

Hi Everyone

 

Im trying to setup the YOURLS app, I have gotten as far as getting the url.mydomain.com/admin page to load but none of my links work.


I think I have some issues with My NGINX config.
Im getting this error in the YOURLS log:
 

Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

Im using the letsencrypt docker that contains NGINX.

 

My NGINX config looks like the below.

 

server {

listen 443 ssl;
listen [::]:443 ssl;

server_name url.*;

include /config/nginx/ssl.conf;

client_max_body_size 0;

root /config/www/YOURLS;
index index.php index.html index.htm;

# enable for ldap auth, fill in ldap details in ldap.conf
#include /config/nginx/ldap.conf;

location / {
    # enable the next two lines for http auth
    #auth_basic "Restricted";
    #auth_basic_user_file /config/nginx/.htpasswd;

    # enable the next two lines for ldap auth
    #auth_request /auth;
    include /etc/nginx/fastcgi_params;
    include /config/nginx/proxy.conf;
    resolver 127.0.0.11 valid=30s;
    set $upstream_unraid url;
    proxy_pass http://192.168.86.41:8088;
}

}

Im getting this issue when I try my shortened links. I get the Forbidden page.

Can anyone help please?

Edited by lordvaderxiii

  • 5 months later...

Did you get this working? If so, what did your config look like?

  • 4 months later...

Does anyone have a working proxy.conf for Letsencrypt/SWAG?

Archived

This topic is now archived and is closed to further replies.

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.