Je doit mal m'y prendre car en sous domaine j'ai toujours l’erreur 403, par contre avec domaine.tld/pastebin/ pas de soucis.
nano /etc/nginx/sites-enabled/rutorrent.conf
On ajoute :
## Début de config pastebin ##
location ^~ /pastebin {
root /var/www/base;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
try_files $uri $uri/ /index.php?q=$uri&$args;
satisfy any;
allow all;
}
## fin de config pastebin ##
Si jamais quelqu’un aurais un vhost en sous domaine je suis preneur.