Предложение! Или используйте инструмент сравнения с поддержкой XML как BeyondCompare, или как веб-Инструмент Развертывания (-verb:sync-whatif) для сравнения конфигураций, особенно на applicationhost.config уровне.
Ok, finally got it!
I messed up my regex :'(
Here is the final configuration file which is perfectly working as intended :D
server {
listen 80;
server_name hostname.domaine.tld;
access_log /var/log/nginx/hostname.access.log;
error_log /var/log/nginx/hostname.error.log;
include errors.conf;
include proxy.conf;
location ~ ^/$ {
deny all;
}
location ~ ^/manager/(?<$uri>)$ {
deny all;
}
location ~^/(?<$uri>)$ {
proxy_pass http://recette/$uri;
}
}
Indeed there were two issues, the first one is the "=" sign which need a perfect match. The second is the added (w+) which conflict with the already exising catch all regex provided by the (?) directive.
So, thanks to the viewer, and sorry for the disturb ^^