aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/en
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en')
-rw-r--r--docs/en/user/installation.rst41
1 files changed, 40 insertions, 1 deletions
diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst
index 3057373c..3872ad3a 100644
--- a/docs/en/user/installation.rst
+++ b/docs/en/user/installation.rst
@@ -91,7 +91,7 @@ If you changed the database configuration to use MySQL or PostgreSQL, you need t
91Installation with Docker 91Installation with Docker
92------------------------ 92------------------------
93 93
94We provide you a Docker image to install wallabag easily. Have a look to our repository on `Docker Hub <https://hub.docker.com/r/wallabag/wallabag/>`__ to have more information. 94We provide you a Docker image to install wallabag easily. Have a look to our repository on `Docker Hub <https://hub.docker.com/r/wallabag/wallabag/>`__ to have more information.
95 95
96Command to launch container 96Command to launch container
97~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -192,6 +192,45 @@ After reloading or restarting nginx, you should now be able to access wallabag a
192 192
193 When you want to import large file into wallabag, you need to add this line in your nginx configuration ``client_max_body_size XM; # allows file uploads up to X megabytes``. 193 When you want to import large file into wallabag, you need to add this line in your nginx configuration ``client_max_body_size XM; # allows file uploads up to X megabytes``.
194 194
195Configuration on LigHTTPd
196~~~~~~~~~~~~~~~~~~~~~~~~~
197
198Edit your ``lighttpd.conf`` file and paste this configuration into it:
199
200::
201
202 server.modules = (
203 "mod_fastcgi",
204 "mod_access",
205 "mod_alias",
206 "mod_compress",
207 "mod_redirect",
208 "mod_rewrite",
209 )
210 server.document-root = "/var/www/wallabag/web"
211 server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
212 server.errorlog = "/var/log/lighttpd/error.log"
213 server.pid-file = "/var/run/lighttpd.pid"
214 server.username = "www-data"
215 server.groupname = "www-data"
216 server.port = 80
217 server.follow-symlink = "enable"
218 index-file.names = ( "index.php", "index.html", "index.lighttpd.html")
219 url.access-deny = ( "~", ".inc" )
220 static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
221 compress.cache-dir = "/var/cache/lighttpd/compress/"
222 compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
223 include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
224 include_shell "/usr/share/lighttpd/create-mime.assign.pl"
225 include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
226 dir-listing.activate = "disable"
227
228 url.rewrite-if-not-file = (
229 "^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
230 "^/([^?]*)" => "/app.php?=$1",
231 "^/wiki$" => "/app.php",
232 )
233
195Rights access to the folders of the project 234Rights access to the folders of the project
196------------------------------------------- 235-------------------------------------------
197 236