Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. weec1 +XWiki.VincentMassol - Content
-
... ... @@ -1,15 +1,17 @@ 1 1 {{warning}} 2 -* This configuration ishighlyexperimentalandusingitmaybe risky2 +* This configuration has been contributed by an XWiki user and needs to be verified. 3 3 * You likely won't need NginX if you have just a couple of hundred users browsing your wiki 4 4 {{/warning}} 5 5 6 -I'm running XWiki Enterprise on the Glassfish 2 Application Server. 7 -NginX listens on //vostrets.ru:80// and redirects HTTP queries to //vostrets.ru:8080// and thus NginX is referred to as "frontend" and Glassfish as "backend". 8 -Glassfish is installed in the ///user/local/glassfish/glassfish// folder. 6 += Set up = 9 9 8 +Example running XWiki on the Glassfish 2 Application Server: 9 +* NginX listens on ##<domain>:80## and redirects HTTP queries to ##<domain>:8080## and thus NginX is referred to as "frontend" and Glassfish as "backend". 10 +* Glassfish is installed in the ##/user/local/glassfish/glassfish## folder. 11 + 10 10 For more information you can consult the [[NginX manual>>http://wiki.nginx.org/Main]]. 11 11 12 - I'veconfiguredmyNginXasfollows (**///etc/nginx.conf//**):14 +NginX configuration example with ##<domain>## being ##vostrets.ru## (##/etc/nginx.conf##): 13 13 14 14 {{code}} 15 15 user www-data; ... ... @@ -100,3 +100,9 @@ 100 100 } 101 101 } 102 102 {{/code}} 105 + 106 += Troubleshooting = 107 + 108 +== Request Entity Too Large == 109 + 110 +If you find the following message in your logs: {{code}}Failed to load resource: the server responded with a status of 413 (Request Entity Too Large){{/code}} then you might want to try to [[increase the request body size>>http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size]] since it seems nginx does not allow request bodies larger than 1MB by default.
- XWiki.XWikiComments[0]
-
- Date
-
... ... @@ -1,1 +1,1 @@ 1 -2014-07-10 10:50:10. 5211 +2014-07-10 10:50:10.0