Coucou toute la communauté de Mondedié,
J'aimerais savoir comment mettre munin en sous domaine quand on a installé le script de ExRat ?
J'ai déjà essayé et ça ne donne pas grand chose en fin de compte par contre pour le proxy pas de problème si ça intéresse quelqu'un.
server {
listen 80;
listen 443 ssl;
server_name graph.adrianboker.eu;
charset utf-8;
index index.html index.php;
client_max_body_size 10M;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
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 ^~ / {
root /var/www/graph;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
location ^~ /graph/img {
root /var/www/graph;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
error_log /dev/null crit;
}
location ^~ /monitoring {
root /var/www/graph;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
}
merci d'avance de votre aide
Bonne journée tout le monde