Bonjour,
J'ai installer le script RuTorrent de Ex_Rat tout marche bien
Mais j'ai rajouté un autre dossier avec phpmyadmin et un forum
Quand je me connecte il faut que je rentre mon login et mdp de seedboxmanager mais pour le forum cela ne m’intéresse pas je veux qu'il soit accessible a tous.
Quelqu'un sait comment faire SVP
merci d'avance
je vous mets mon 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;
}
## debut 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 ##
## debut config forum ##
location ^~ /forum {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config forum ##
## debut config prez ##
location ^~ /prez {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config prez ##
## debut config mediatheque ##
location ^~ /mediatheque {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config mediatheque ##
## debut 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 ##
## debut config forum ##
## debut config phpmyadmin
location ^~ /phpmyadmin {
alias /var/www/phpmyadmin;
try_files $uri $uri/ /index.php;
location ~ ^/phpmyadmin(.+\.php)$ {
alias /var/www/phpmyadmin$1;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin$1;
include fastcgi_params;
fastcgi_intercept_errors on;
}
}
## fin config phpmyadmin
## debut 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 ##
}