i looking grant access 1 folder in every user's home directory via nginx,
location /home/*/share{ }
the asterisk *
doesn't work, worked in apache. tell me wildcard or regex ?
thanks in advance
the way written means /
1 appear multiple times, ie /home///////share
, fix write soemthing like
location ~ /home/[^/]+/share { }
Comments
Post a Comment