Sunny Gupta
Sporty person. Enthusiastic for Digital Devices.
Underlying server should have perl 5.6.1+ installed.
Underlying server should have libpcre installed.
Underlying server should have ngx_lua (nginx 3rd party module) configured.
Create a new directory named lua, if not there into your nginx prefix directory like /usr/local/nginx , where all your main nginx.conf file, conf/ logs/ etc resides,
Copy all unzipped .lua files into lua directory.
Open nginx_ss.lua file.
Inside http block configure the lua_package_path and upstream shieldsquare as shown below:
Inside at the end of server block in your nginx.conf file, include following location block :
Include below two lines in the beginning of each location block.
After setting access script, set below lines at the end of each location block
Access the website and verify the integration in Shieldsquare dashboard
Online guide is available :
By Sunny Gupta