hi . i want to same config like ngnix in caddy
bellow code dot allow open file with dot like .env
location ~ /\.(?!well-known).* {
deny all;
}
hi . i want to same config like ngnix in caddy
bellow code dot allow open file with dot like .env
location ~ /\.(?!well-known).* {
deny all;
}
Use path_regexp
thanks please show sample
The page itself has an example.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.