Answer the question
In order to leave comments, you need to log in
Why is there a problem with nginx disallowing direct links in iOS Safari?
Good afternoon.
Available php project and nginx web server.
To deny access to the videos folder, I use the following config:
location /project/videos/ {
alias /home/user/project/videos/;
valid_referers blocked *.mydomain.com;
if ($invalid_referer) {
return 403;
}
try_files $uri @php;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question