How to create correct config using attached diagram? This config cant get file from folder imagetest2 for files stored 'as is', only with rewrite rule. server { listen *:80; server_name imagestest.local; root /var/www/imagestest; set $other_dir "/var/www/imagestest2"; location ~ / { try_files $uri $other_dir @rewrite; } #try for splitted location @rewrite {by ilya.iz - How to...
![]() |
![]() |
![]() |
![]() |
|