git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/master' into dilatometer
[matches/MCTX3420.git]
/
testing
/
fastcgi-approach
/
README.txt
diff --git
a/testing/fastcgi-approach/README.txt
b/testing/fastcgi-approach/README.txt
index
6d42c25
..
159bbc6
100644
(file)
--- a/
testing/fastcgi-approach/README.txt
+++ b/
testing/fastcgi-approach/README.txt
@@
-4,11
+4,11
@@
process will receive responses from the browser in the response loop. Hence,
sensor data can be read in another thread while the response loop runs.
Setup:
sensor data can be read in another thread while the response loop runs.
Setup:
-Compile fastcgi_test.c with:
+Compile fastcgi_test.c with:
(the libfcgi-dev package must be installed)
gcc fastcgi_test.c -lfcgi -o fastcgi_test
gcc fastcgi_test.c -lfcgi -o fastcgi_test
-Configure nginx
to pass all requests to the address /cgi/ to the application
:
-Edit /etc/nginx/sites-enabled/default by adding the contents of nginx_server_config.txt
+Configure nginx:
+Use the config files in -etc-nginx (representing files in /etc/nginx)
Restart nginx:
/etc/init.d/nginx restart
Restart nginx:
/etc/init.d/nginx restart
UCC
git Repository :: git.ucc.asn.au