Hello,
#1 Please see:
Updating NGINX default configurations on Azure App services Managed WordPress
The logs are located in (replace slash with / as this editor won't let me post):
/var slash log slash nginx
The access logs are located in:
/var slash log slash nginx slash access
#2 Please see:
NGINX Rewrite Rules for Azure App Service Linux PHP 8.x
https://azureossd.github.io/2021/09/02/php-8-rewrite-rule/
If this is helpful please accept answer.