About using SSI for Web Apps

Noriko 251 Reputation points

Is SSI available for web apps on Linux? Is there a way to enable it?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,022 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 18,931 Reputation points Microsoft Employee

    Thanks for the follow-up and additional info.

    Based on your requirements, you may leverage Azure App service Linux custom container rather than Azure App Service built-in Linux (not feasible option for SSI).
    NGINX Rewrite Rules for Azure App Service Linux PHP 8.x

    PHP version 8.x uses NGINX as the default configuration file on Azure app services Linux and the default location of this file on server is - /etc/nginx/sites-available/default.

    Just to add more info:
    You may make customized Nginx configuration based on the default one, changes to the /home/default file. Set up a custom startup script and modify the existing NGINX site configuration.

    In the Azure Portal  > Navigate to your WebApp > Go to `Configuration >> General settings  >> Add a  Startup Command

    I have also relayed your feedback internally to our product team.

    Azure App Service on Linux FAQ
    How to set Nginx headers

    0 comments No comments