How to install ngx_http_ssi_module

ug flag

default NGINX configuration not included SSI module (don't confuse with SSL) in my case

# nginx -V 
nginx version: nginx/1.18.0 (Ubuntu)
built with OpenSSL 1.1.1f  31 Mar 2020
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 
--with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fPIC' 

ngx_http_ssi_module ( is missing. How to install it?

ru flag

In Ubuntu versions which ship NGINX 1.18.0 (including Jammy 22.04), you need to install the nginx-full flavor of the package. Just doing sudo apt install nginx will install nginx-core which contains a very very limited set of third party modules and leaves most of the optional modules disabled.

You can do this by doing sudo apt install nginx nginx-full which will replace nginx-core with nginx-full and install all that nginx-full contains in place of nginx-core. Your configuration should not be affected, however make sure you take a backup of /etc/nginx before executing the change and switch.

Then the SSI module will be present.

Be advised that the NGINX docs state that "Currently, the list of supported SSI commands is incomplete.", therefore not all SSI commands will work or necessarily be documented or available. (emphasis is mine, but this is a direct quote from the docs you linked)

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.