A
al1987

  • 10 juil. 2017
  • Inscrit 7 oct. 2015
  • Bonjour, question bête mai quel est le port de la seedbox ?
    Je vous demande ça car sur un site, pour me déclaré en tant que "power seeder" il demande le port de ma seedbox ...

    • YES !
      ça fonctionne!

      Tu peux m'expliquer ? stp

      MERCI

    • Modification effectué. Mais en voulant restart le service toujours le même message d'erreur

      En tout cas merci pour le temps que tu me consacre

    • cat /etc/nginx/nginx.conf

      user www-data;
      worker_processes auto;
      pid /run/nginx.pid;
      include /etc/nginx/modules-enabled/*.conf;
      
      events {
              worker_connections 768;
              # multi_accept on;
      }
      
      http {
      
          ##
          # Basic Settings
          ##
      
          sendfile on;
          tcp_nopush on;
          tcp_nodelay on;
          keepalive_timeout 65;
          types_hash_max_size 2048;
          # server_tokens off;
      
          # server_names_hash_bucket_size 64;
          # server_name_in_redirect off;
      
          include /etc/nginx/mime.types;
          default_type application/octet-stream;
      
          ##
          # SSL Settings
          ##
      
          ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
          ssl_prefer_server_ciphers on;
      
          ##
          # Logging Settings
          ##
      
          access_log /var/log/nginx/access.log;
          error_log /var/log/nginx/error.log;
      
          ##
          # Gzip Settings
          ##
      
          gzip on;
          gzip_disable "msie6";
      
          # gzip_vary on;
          # gzip_proxied any;
          # gzip_comp_level 6;
          # gzip_buffers 16 8k;
          # gzip_http_version 1.1;
          # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
      
          ##
          # nginx-naxsi config
          ##
          # Uncomment it if you installed nginx-naxsi
          ##
      
          #include /etc/nginx/naxsi_core.rules;
      
          ##
          # Virtual Host Configs
          ##
      
          include /etc/nginx/conf.d/*.conf;
          include /etc/nginx/sites-enabled/*;
      }
      
      
      #mail {
      #       # See sample authentication script at:
      #       # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
      #
      #       # auth_http localhost/auth.php;
      #       # pop3_capabilities "TOP" "USER";
      #       # imap_capabilities "IMAP4rev1" "UIDPLUS";
      #
      #       server {
      #               listen     localhost:110;
      #               protocol   pop3;
      #               proxy      on;
      #       }
      #
      #       server {
      #               listen     localhost:143;
      #               protocol   imap;
      #               proxy      on;
      #       }
      #}
      
    • cat /etc/nginx/sites-available/default

      ##
      # You should look at the following URL's in order to grasp a solid understanding
      # of Nginx configuration files in order to fully unleash the power of Nginx.
      # http://wiki.nginx.org/Pitfalls
      # http://wiki.nginx.org/QuickStart
      # http://wiki.nginx.org/Configuration
      #
      # Generally, you will want to move this file somewhere, and start with a clean
      # file but keep this around for reference. Or just disable in sites-enabled.
      #
      # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
      ##
      
      # Default server configuration
      #
      server {
              listen 80 default_server;
              listen [::]:80 default_server;
      
          # SSL configuration
          #
          # listen 443 ssl default_server;
          # listen [::]:443 ssl default_server;
          #
          # Note: You should disable gzip for SSL traffic.
          # See: https://bugs.debian.org/773332
          #
          # Read up on ssl_ciphers to ensure a secure configuration.
          # See: https://bugs.debian.org/765782
          #
          # Self signed certs generated by the ssl-cert package
          # Don't use them in a production server!
          #
          # include snippets/snakeoil.conf;
      
          root /var/www/html;
      
          # Add index.php to the list if you are using PHP
          index index.html index.htm index.nginx-debian.html;
      
          server_name _;
      
          location / {
                  # First attempt to serve request as file, then
                  # as directory, then fall back to displaying a 404.
                  try_files $uri $uri/ =404;
                  # Uncomment to enable naxsi on this location
                  # include /etc/nginx/naxsi.rules;
          }
      
          # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
          #
          #location ~ \.php$ {
          #       include snippets/fastcgi-php.conf;
          #
          #       # With php5-cgi alone:
          #       fastcgi_pass 127.0.0.1:9000;
          #       # With php5-fpm:
          #       fastcgi_pass unix:/var/run/php5-fpm.sock;
          #}
      
          # deny access to .htaccess files, if Apache's document root
          # concurs with nginx's one
          #
          #location ~ /\.ht {
          #       deny all;
          #}
      }
      
      
      # Virtual Host configuration for example.com
      #
      # You can move that to a different file under sites-available/ and symlink that
      # to sites-enabled/ to enable it.
      #
      #server {
      #       listen 80;
      #       listen [::]:80;
      #
      #       server_name example.com;
      #
      #       root /var/www/example.com;
      #       index index.html;
      #
      #       location / {
      #               try_files $uri $uri/ =404;
      #       }
      #}
      
    • erreur de copier/coller, j'ai bien un } a la fin

    • total 4
      lrwxrwxrwx 1 root root   34 nov.  29 19:46 default -> /etc/nginx/sites-available/default
      -rw-r--r-- 1 root root 2696 avril  4  2016 rutorrent.conf
      
      server {
              listen 80 default_server;
              listen 443 default_server ssl http2;
              server_name _;
      
          index index.html index.php;
          charset utf-8;
          client_max_body_size 10M;
      
          ssl_certificate /etc/nginx/ssl/server.crt;
          ssl_certificate_key /etc/nginx/ssl/server.key;
      
          include /etc/nginx/conf.d/ciphers.conf;
      
          access_log /var/log/nginx/rutorrent-access.log combined;
          error_log /var/log/nginx/rutorrent-error.log error;
      
          error_page 500 502 503 504 /50x.html;
          location = /50x.html { root /usr/share/nginx/html; }
      
          auth_basic "seedbox";
          auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
      
          location = /favicon.ico {
                  access_log off;
                  log_not_found off;
          }
      
          ## début config accueil serveur ##
      
          location ^~ / {
              root /var/www/base;
              include /etc/nginx/conf.d/php.conf;
              include /etc/nginx/conf.d/cache.conf;
              satisfy any;
              allow all;
          }
      
          ## fin config accueil serveur ##
      
          ## début config proxy ##
      
          location ^~ /proxy {
              root /var/www;
              include /etc/nginx/conf.d/php.conf;
              include /etc/nginx/conf.d/cache.conf;
          }
      
          ## fin config proxy ##
      
          ## début config rutorrent ##
      
          location ^~ /rutorrent {
              root /var/www;
              include /etc/nginx/conf.d/php.conf;
              include /etc/nginx/conf.d/cache.conf;
      
              location ~ /\.svn {
                      deny all;
              }
      
              location ~ /\.ht {
                      deny all;
              }
          }
      
          location ^~ /rutorrent/conf/ {
                  deny all;
          }
      
          location ^~ /rutorrent/share/ {
                  deny all;
          }
      
          ## fin config rutorrent ##
      
          ## début config munin ##
      
          location ^~ /graph {
              root /var/www;
              include /etc/nginx/conf.d/php.conf;
              include /etc/nginx/conf.d/cache.conf;
          }
      
          location ^~ /graph/img {
              root /var/www;
              include /etc/nginx/conf.d/php.conf;
              include /etc/nginx/conf.d/cache.conf;
              error_log /dev/null crit;
          }
      
          location ^~ /monitoring {
              root /var/www;
              include /etc/nginx/conf.d/php.conf;
              include /etc/nginx/conf.d/cache.conf;
          }
      
          ## fin config munin ##
      
          ## début config seedbox-manager ##
      
          location ^~ /seedbox-manager {
          alias /var/www/seedbox-manager/public;
              include /etc/nginx/conf.d/php-manager.conf;
              include /etc/nginx/conf.d/cache.conf;
          }
      
          ## fin config seedbox-manager ##
      
          ## config utilisateurs  ##
      
          location /ALEXIS {
              include scgi_params;
              scgi_pass 127.0.0.1:5001; #ou socket : unix:/home/username/.session/username.socket
              auth_basic "seedbox";
              auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_alexis";
          }
      
          location ^~ /syncnas {
           root /var/www;
           include /etc/nginx/conf.d/php.conf;
           include /etc/nginx/conf.d/cache.conf;
           index index.html index.php;
          }
      
    • Installation via le script
      Voici la version de PHP :

      PHP 5.6.27-0+deb8u1 (cli) (built: Oct 15 2016 15:53:28)
      Copyright (c) 1997-2016 The PHP Group
      Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
          with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
      
    • J'ai fait plusieurs recherche avant de post mais j'ai rien trouver

    • Je n'ai rien modifié.

      La date de dernière modification du fichier date d'avril

    • Me revoila
      voici mon /etc/nginx/conf.d/cache.conf

      location ~* \.(jpg|jpeg|gif|css|png|js|woff|ttf|svg|eot)$ {
              expires 30d;
              access_log off;
      }
      
      location ~* \.(eot|ttf|woff|svg)$ {
              add_header Acccess-Control-Allow-Origin *;
      }
      
    • Avis de remboursement reçu a l'instant

    • Idem j'ai ouvert un ticket samedi, j'attend un retour ...

    • Merci de vos réponse, je suis au travail actuellement.
      Je poste ce soir vers 18h mon fichier cache.conf

    • Bonjour,

      Impossible ce matin d'accéder a rutorrent.
      Sur mon serveur je n'arrive pas a restart mon service nginx.

      pouvez-vous m'aider svp?

    • Bonjour,

      je voulais savoir, j'ai mon adresse IP qui a changé (Numericable) donc mes synchro avec mon nas ne fonctionne plus.
      Quel fichier dois-je modifié ?
      Est-ce que je dois régénérer les clés ssh ?

      Par contre j'ai essayé de faire un ping depuis mon serveur vers ma nouvelle @IP mais ça n'as pas fonctionné...
    • majaxx wrote:Ah moi tous mes dossiers torrents + synchro on sa comme droit
      drwxr-xr-x

      Donc tente un
      chmod -R 755 /mon/dossier/
      Ok, j'ai ajouté les droits comme tu m'as indiqué. J'ai bien tout mes fichiers avec :
      -rwxrwxr-x

      Par contre j'ai test avec un nouveau telechargement + nouvelle synchro, mais la les nouveaux fichiers ont les droits suivants :
      -rw-r--r--

      Bizarre ...
    • majaxx wrote:Rien a voir avec sa c'est pour le nas , je pense que c'est un probleme de droit au niveau de ton dossier synchro
      Effectivement, voila ce que mon user a comme droit :

      -rw-r--r--