Hi
I'm trying to get elgg running under nginx on windows 8 64bit (test rig) and it is bombing out with 504 gateway timeouts. This is the server block:
server {
listen 80;
server_name elgg1;
location elgg1 {
root D:\nmp-server-2.1\nginx-1.2.5\html\elgg1;
index index.php;
# required for icon direct
rewrite ^\/(.*)\.php\/(.*)[\/]?$ $1.php?$2;
rewrite ^\/action\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1 last;
rewrite ^\/actions\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1 last;
rewrite ^\/export\/([A-Za-z]+)\/([0-9]+)$ services/export/handler.php?view=$1&guid=$2 last;
rewrite ^\/export\/([A-Za-z]+)\/([0-9]+)\/$ services/export/handler.php?view=$1&guid=$2 last;
rewrite ^\/export\/([A-Za-z]+)\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?view=$1&guid=$2&type=$3&idname=$4 last;
rewrite ^\/\_css\/css\.css$ _css/css.php last;
rewrite ^\/pg\/([A-Za-z0-9\_\-]+)\/(.*)$ engine/handlers/pagehandler.php?handler=$1&page=$2 last;
rewrite ^\/pg\/([A-Za-z0-9\_\-]+)$ engine/handlers/pagehandler.php?handler=$1 last;
rewrite xml-rpc.php engine/handlers/xml-rpc_handler.php last;
rewrite mt/mt-xmlrpc.cgi engine/handlers/xml-rpc_handler.php last;
rewrite ^\/tag/(.*)[\/]?$ engine/handlers/pagehandler.php?handler=search&page=$1 last;
}
}
am I missing something?
Thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ura soul@tunist
ura soul - 0 likes
- banjax@banjax
banjax - 0 likes
- ura soul@tunist
ura soul - 0 likes
You must log in to post replies.this is roughly what i am using:
http://community.elgg.org/pages/view/1198938/nginx-config-for-elgg-18
that is fiendish. I'd settle for proper error reporting - it's timing out on the requirements check; if I knew what was causing that it'd give me something to work on. Right now I'm just floundering in the dark.
i've only configured nginx on linux, so not sure i can assist much with windows error logs. most likely there will be some type of notification in the error log for nginx or your elgg project in nginx.