Jump to content

deuxcolors

Members
  • Posts

    118
  • Joined

  • Last visited

Posts posted by deuxcolors

  1. Back to the VPN question.

     

    The VPN itself works fine (using OpenVPN-AS), but there is a possibility to have a webpage where I can login and get my configuration files when required.

    However, when I try to log in to it at vpn.example.com I get a "502 Bad Gateway".

     

    Here is the setup:

    server {
    listen 443 ssl;
    root /config/www;
    index index.html index.htm index.php;
    server_name vpn.*;
    ssl_certificate /config/keys/letsencrypt/fullchain.pem;
    ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
    ssl_dhparam /config/nginx/dhparams.pem;
    ssl_ciphers 
    'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
    ssl_prefer_server_ciphers on;
    client_max_body_size 0;
    
    location / {
    	auth_basic off;
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.80.1:9443;
    }
    }

    I TRIED WITH 943 SAME ISSUE

     

     

    I'll post this in the OpenVPN-AS thread as well if it is determined that this isn't an NGINX issue.

     

    Thanks y'all!

  2. Trying to get Deluge and Transmission working...

     

    CHBMB provided me a configuration, but it doesn't use .htpasswd, and when I tried to modify the script it 404.

    Of course, the same setup doesn't work at all for Transmission.

     

    #HTPC
    server {
    listen 443 ssl;
    root /config/www;
    index index.html index.htm index.php;
    server_name htpc.*;
    ssl_certificate /config/keys/letsencrypt/fullchain.pem;
    ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
    ssl_dhparam /config/nginx/dhparams.pem;
    ssl_ciphers 
    *****
    ssl_prefer_server_ciphers on;
    client_max_body_size 0;
    
    #Muximux
    location / {
    	auth_basic "Restricted";
    	auth_basic_user_file /config/nginx/.htpasswd;
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.1.1:38095;
    }
    
    #Sonarr
    location ^~ /tv {
    	auth_basic "Restricted";
    	auth_basic_user_file /config/nginx/.htpasswd;
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.1.1:38082/tv;
    }	
    
    #Couchpotato
    location ^~ /movies {
    	auth_basic "Restricted";
    	auth_basic_user_file /config/nginx/.htpasswd;
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.1.1:38083/movies;
    }	
    
    #Deluge
    location ^~ /deluge {
    	auth_basic "Restricted";
    	auth_basic_user_file /config/nginx/.htpasswd;
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.1.1:38085; 
    	proxy_set_header  X-Deluge-Base "/deluge/";
    }	
    
    #PlexPy
    location ^~ /stats {
    	auth_basic "Restricted";
    	auth_basic_user_file /config/nginx/.htpasswd;
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.1.1:38090/stats;
    }	
    
    }

     

    Sonarr, CP, and PlexPy work fine within Muximux, and at /address on their own.

     

    Any ideas?

  3. Does your settings take into account .htpasswd authorization?

     

    Since it didn't have any indication I wrote this, but I got a 404:

     

    	location ^~ /deluge {
    	auth_basic "Restricted";
    	auth_basic_user_file /config/nginx/.htpasswd;
    	include /config/nginx/proxy.conf;
    	proxy_pass http://192.168.80.1:38085;
    	proxy_set_header  X-Deluge-Base "/deluge/";
    }	

     

    Also (and I'm aware it is a different docker) but would it be the same setup for Transmission?

    (I'll be posting this question on the letsencrypt page)

  4. The container doesn't have a desktop app, it has a backend engine and a webui...

     

    I was afraid you would say something like that...

     

    When you've got time I'm still looking for an answer to my original question.

     

    Yeah, I just got home from work. 

     

    This will work with nginx.

     

        	location /deluge {
         		proxy_pass http://192.168.0.1:8112/;
         		proxy_set_header  X-Deluge-Base "/deluge/";
    	include /config/nginx/proxy.conf;
        	}

     

    Obviously change 192.168.0.1 to your Unraid IP

    Cool. And I don't need to add anything to deluge?

     

    Sent from mobile

     

     

  5.  

     

    For using a desktop app with the container backend, look at the post above yours....

     

    Sent from my LG-H815 using Tapatalk

     

    Not quite what I was asking. I was wondering if it is possible to access the container's "desktop app" since the webui we normally use is limited which certain plug-ins and other configurations.

     

    Sent from mobile

     

     

  6. Hey y'all.

    I trully doubt this is a container issue, and just a "me" and/or Plex issue, but I figure I'd ask in any case.

     

    I've got a lot of videos (generally movie length files) crapping out halfway through. The video just stops and goes back to the selection screen.

     

    I thought it was a transcode issue since I had it's folder pointed to /tmp, but I canched it to now point at the cache/ssd but the issue seems to continue.

     

    Of course it is possible it is the files, but it is happening with too many files, and the source is trustworthy to the point if the videos were bad they'd be pulled.

     

    Thanks for any help getting in the right direction.

  7. Question. Has the issue with Deluge (the one where you can't connect anymore via the WebUI after a reboot) been dealt with?

     

    I had to roll back to version 12 to avoid the issue, but I haven't seen anything about a fix.

     

    Ver. 12 is working fine for me so it isn't a pressing issue, just a question.

  8. Hey y'all.

     

    I don't know why, but I can no longer mount a network drive using UD.

     

    I add the drive, and it shows in the list, but when I click mount it doesn't.

    The page refreshes and the mount button reappears.

     

    There is a folder in /mnt/disks with the name of the networked drive, but it doesn't connect.

     

     

    I don't know if there is a log or something else to check.

     

     

    Thanks for the help.

  9. Just looking at the COPS source code, rather than the dockerfile code.  There is the ability to set users in the app natively.

     

        /*
         * Enable PHP password protection (You can use if htpasswd is not possible for you)
         * If possible prefer htpasswd !
         * array( "username" => "xxx", "password" => "secret") : Enable PHP password protection
         * NULL : Disable PHP password protection (You can still use htpasswd)
         */
        $config['cops_basic_authentication'] = NULL;

     

    Edit that chunk and paste it into config_local.php to enable as detailed here.

     

    Haven't tested this, and I'll take a look in the next few days at it, as it may require some docker modification, but if anyone gets it working in the meantime let me know so I can save a bit of time.

     

    EDIT:

     

    Tested this and it works.  So you could then forward the port to the router.  Not the most secure way of doing things but FAR less work than setting up a https encrypted browser and for the purpose of this container it may well be adequate.

     

    $config['cops_basic_authentication'] = array('username' => 'chbmb', 'password' => 'sparklyballsisgrumpy');

     

    CHBMB to the rescue!!!

    Much easier than my method. Speaking of which... Care to create an easy to follow reverse-proxy how-to?  :-* (off topic, I know)

     

×
×
  • Create New...