Subscribe

How to install sw-nginx-module-xss in CentOS/RHEL 8 (x86_64)

Native cross-site scripting support in NGINX

License: BSD Vendor: GetPageSpeed LLC https://github.com/dvershinin/xss-nginx-module
Important: The Plesk control panel must be installed on your server before using this repository.

Install

# The Plesk control panel must be installed on your server.
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-plesk
sudo dnf -y install sw-nginx-module-xss

Description

This module adds cross-site AJAX support to NGINX. Currently only cross-site GET is supported. But cross-site POST will be added in the future. The cross-site GET is currently implemented as JSONP (or "JSON with padding"). See http://en.wikipedia.org/wiki/JSON#JSONP for more details. After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable xss

RPMs