Jump to content

Bilal Yassine

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by Bilal Yassine

  1. Hi 

    i woke yesterday to find one of my drives (disk 2) disabled by the OS. 

     

    I have 2 parity drives so i'm not too concerned about losing everything right now. I disabled docker and VMs and have disabled network access to the server except from my PC (just to be safe and not aggravate the problem) 

     

    I ran extended SMART on the drive which took more than 12 hours. the report shows 0 reallocated sectors but i don't know what else to look for to try and understand why this happened. 

     

    report attached.

     

    Thanks in advance for the help and assistance. 

    WDC_WD60EFRX-68MYMN1_WD-WX21D25HEUJN-20210910-1158.txt

  2. Hi, I was wondering if anyone knows if it's possible to use the reverse proxy aspect of this docker to open a webpage hosted on a VM in unraid. so, for example, say I hosted a website or installed GitLab in a VM would I be able to reverse proxy to it with a subdomain. (not sure if i'm explaining this correctly. this field is really not my element of study)

     

    Regards,

    Bilal Yassine

  3. Hi,

     

    I'm trying to set up this docker with a subdomain is it possible? I looked in the docs for BookStack and they only described it with subfolder using apache

     

    I copied the conf files in Letsencrypt I pasted the code below. if it's possible could you please let me know what I'm doing wrong?

     

    in the docker config i used the correct reverseproxy address.

     

    # make sure that your dns has a cname set for radarr and that your radarr container is not using a base url
    
    server {
        listen 443 ssl;
    
        server_name bookstack.*;
    
        include /config/nginx/ssl.conf;
    
        client_max_body_size 0;
    
        # 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;
            #error_page 401 =200 /login;
    
            include /config/nginx/proxy.conf;
            resolver 127.0.0.11 valid=30s;
            set $upstream_bookstack bookstack;
            proxy_pass http://$upstream_bookstack:6875;
        }
    
        location ~ (/radarr)?/api {
            include /config/nginx/proxy.conf;
            resolver 127.0.0.11 valid=30s;
            set $upstream_bookstack bookstack;
            proxy_pass http://$upstream_bookstack:6875;
        }
    }

     

    Regards,

    Bilal Yassine

  4. 47 minutes ago, Gog said:

     

    I don't use a subdomain but my subfolder setup works and it looks a lot like yours:

    
    location /calibre-web {
        auth_basic "Restricted";
        auth_basic_user_file /config/nginx/.htpasswd;
    	proxy_pass              http://192.168.1.111:8083;
    	proxy_set_header        Host            $http_host;
    	proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    	proxy_set_header        X-Scheme        $scheme;
    	proxy_set_header        X-Script-Name   /calibre-web;
    }

    that I put in appdata\letsencrypt\nginx\proxy-confs\calibre-web.subfolder.conf

     

    So that looks fine.  It seems that you are configuring books.apolo.... but you are also configuring a subfolder.

     

    Try https://books.unabolo.net/calibre-web or set your location as root: "location /"

     

    wow, thanks so much... it's starting to make sense and seems like such a trivial error. it works now, I decided to change the location from /calibre-web to / just so it stays the same as all my other subdomains. 

     

  5. Hi,

     

    I'm trying to to get calibre-web to reverse proxy. since there is no sample conf file for it in the proxy-confs folder I tried to copy one using the location block I found on the docker page. I really have no experience in this kind of thing. 

     

    server {
        listen 443 ssl;
    
        server_name books.*;
    
        include /config/nginx/ssl.conf;
    
        client_max_body_size 0;
        
        # enable for ldap auth, fill in ldap details in ldap.conf 
        #include /config/nginx/ldap.conf;
    
        location /calibre-web {
                proxy_pass              http://192.168.0.9:8083;
                proxy_set_header        Host            $http_host;
                proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header        X-Scheme        $scheme;
                proxy_set_header        X-Script-Name   /calibre-web;
        }
    }

     

    i only ever get the attached nginx page.

     

    Any help would be greatly appreciated.

     

    Regards,

    Bilal

     

    chrome_2018-10-29_14-10-43.png

×
×
  • Create New...