Setting alias di NGINX

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

location ~ ^/files/(.*)$ {
try_files /wp-content/blogs.dir/$uri /wp-includes/ms-files.php?file=$1 ;
}

location ^~ /blogs.dir {
internal;
alias /home/kadal/web/kadalbencong.net/public_html/wp-content/blogs.dir ;
access_log off;
log_not_found off;
expires max;
}


7,748 Responses to “Setting alias di NGINX”