So I have a bash script that I want to execute/run on each "page load" of url so that it will modify (creating symlinks) to a
/public/html/ folder that I want the server to then serve.
The problem is I figured out how to do one or the other not both.
I can show the directory with nginx root
or I can run the script by having instead of root
But if I use content by lua, the script does run and create what I need inside
/public/html but Nginx then just shows a blank screen. I want a way to then have nginx actually show the directory listing of
/public/html after it runs the
I just started using nginx because of this task and am clueless how to do this, I did search around but its not an easy question to phrase for google or here.