Azure App services Managed WordPress is a new service offering provided by Microsoft Azure to host WordPress websites. It runs on a Linux machine and the technology on which this Managed WordPress site runs is PHP and the web server it uses is NGINX.
In this blog post, you will understand on how you can modify the default configurations of NGINX on Managed WordPress site on Azure app services.
On that note, let's quickly deep dive into the technical aspects of modifying the default configurations on Azure app service Managed WordPress website.
Now, let us quickly navigate to the Azure portal --> App service (Managed WordPress) --> click on SSH blade, this would take you to the WebSSH console.
This would open an SSH session for you as below and you can navigate to the path /etc/nginx/conf.d where you can find the file default.conf as shown below.
Commands to navigate:
And this default.conf has all the necessary location routes and other serve specific details, sample configuration in default.conf is as below,
Now, as a next step, you can copy this default.conf to /home which is a persistent storage on Azure app services.