I'm facing to a problem with Azure Wordpress on App Service, the Startup Command is ignored when I perform a restart of App service. I need to copy a custom config file into nginx directory as described in the article Configure Nginx for PHP 8 Linux Azure App Service.
Here is the content of startup.sh script:
#!/bin/bash
cp /home/spec-settings.conf /etc/nginx/conf.d/spec-settings.conf
service nginx restart
Do someone have any idea what might be wrong?