Installation scripts for SURF ResearchCloud catalog components
View the Project on GitHub UtrechtUniversity/researchcloud-items
Adds support for execution of shell script with the nginx webserver.
Workspace that has nginx installed.
Installs the fcgiwrap package and creates a /var/www/cgi-bin directory where scripts can be placed. Installs an example script within this directory.
An example nginx configuration to execute a script “hello” at location /hello would be:
location / {
gzip off;
root /var/www/cgi-bin;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /var/www/cgi-bin$fastcgi_script_name;
}
n/a
2022 Written by Ahmad Hesam (SURF) and Ton Smeele (Utrecht University)