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
Update nginx configs
[matches/MCTX3420.git]
/
testing
/
fastcgi-approach
/
README.txt
diff --git
a/testing/fastcgi-approach/README.txt
b/testing/fastcgi-approach/README.txt
index
29cfd2c
..
159bbc6
100644
(file)
--- a/
testing/fastcgi-approach/README.txt
+++ b/
testing/fastcgi-approach/README.txt
@@
-7,8
+7,8
@@
Setup:
Compile fastcgi_test.c with: (the libfcgi-dev package must be installed)
gcc fastcgi_test.c -lfcgi -o fastcgi_test
Compile fastcgi_test.c with: (the libfcgi-dev package must be installed)
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