• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved SSI for Nginx - Plesk 12.5

Raoul STANISLAS

New Pleskian
Hi,

I am going to migrate my website from Plesk 10.x to a new Plesk 12.5 (Centos7)
I should like to use the best configuration, Nginx is recommended to use HTTP/2.

http://nginx.org/en/docs/http/ngx_http_ssi_module.html
http://kb.odin.com/en/124147

If SSI is available for Apache, but it's not the case for Nginx (I did not see in the list of loaded modules)?
The SSI module is essential to protect my original JS files.
So i use Apache 2.4 without HTTP/2

Is it for very soon?

Thank you.
 
Hi Raoul STANISLAS,

consider to compile nginx by yourself, if you need additional nginx-modules. Your Plesk version and the unique, own-compiled nginx works without issues, if you compiled nginx as well with the very same modules, as currently shown with the command "nginx -V". ;) Consider to compile the same nginx version for compatibilty reasons.
 
Hi UFHH01,

After many tests, "serve static files with nginx ... " is not checked.
It works now.

I'll dig this post : https://talk.plesk.com/threads/nginx-browser-caching-for-static-resources.334497/

#nginx -V
nginx version: nginx/1.11.1
built with OpenSSL 1.0.2h 3 May 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/share --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --modules-path=/usr/share/nginx/modules --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --user=nginx --group=nginx --with-ipv6 --with-file-aio --with-http_v2_module --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_dav_module --with-http_gzip_static_module --with-http_stub_status_module --with-openssl=/home/builder/buildbot/nginx-1.11.1-bcos7x64/build/nginx/work/openssl-1.0.2h --with-openssl-opt='enable-tlsext zlib no-idea no-mdc2 no-rc5 no-ssl2 no-shared -fpic' --add-dynamic-module=/usr/share/passenger/ngx_http_passenger_module

I do not see SSI or "HTTP headers module" in this list (http://nginx.org/en/docs/http/ngx_http_headers_module.html)
I do not understand what are the modules installed.
 
Hi Raoul STANISLAS,

I do not see SSI or "HTTP headers module" in this list (http://nginx.org/en/docs/http/ngx_http_headers_module.html)
So called "build-in" modules, can be activated with your nginx version, when you use the depending compiling option ( "--with-http_headers_module" for example ).

http://nginx.org/en/docs/http/ngx_http_headers_module.html => compiling option to use: --with-http_headers_module
http://nginx.org/en/docs/http/ngx_http_ssi_module.html => compiling option to use: --with-http_ssi_module

Pls. see as well the official NGINX documentation at: => Installation and Compile-Time Options
Third party modules can be found for example at: => https://www.nginx.com/resources/wiki/modules/
 
Hi UFHH01,

I am just a web developer and I use Plesk for its ease of use (where are checkbox for Nginx as Apache?).
I will study your answer is beyond my skills.

Thank you.
 
Back
Top