I'll answer my own post with the link below. It has a good explanation and example of securing the server by hardening the nginx.conf file against outside file calls as a couple subsections: https://calomel.org/nginx.html Enjoy!by chim - How to...
How do we edit the conf file to disallow off-server calls of C/PHP/PERL scripts? I don't want to allow users to set up their own script calling pages or other web site owners to call our scripts either, thx.by chim - How to...
Okay, just got it working by explicitly naming the cgi-bin location in the nginx default site and virtual site conf files. One of the packages may have set it up for php's or perl's directories (who knows), but setting it explicitly as an overide got 'er workin. Dang computers- they're always doing what we TELL them to do and not what we WANT them to do, lol. I'm still waiting on computer/softwby chim - Other discussion
We have multiple legacy C scripts that we'd like to run under nginx on VPS servers in a HA cluster on Centos 5.6. We're having limited luck in finding out how to do this for nginx + fastcgi +C. There's plenty about perl and PHP, but not much for C scripts. We currently run them under Apache on large memory VPS's, but we'd lilke to cut down costs and go with a leaner setup on Linode VPS's as weby chim - How to...
We have 10 legacy C scripts that we'd like to run under nginx, but we're having little luck in finding out how to do this since php and perl seem to be the main focus for nginx/fastcgi. I've taken a shot at a setup for this, but cannot get the cgi script to do anything but try to download the file itself in a pop-up Save File dialog box since it's not apparently sending its output correctly overby chim - Other discussion
![]() |
![]() |
![]() |
![]() |
|