forked from GNUsocial/gnu-social
[DOCUMENTATION] Added X-Sendfile/X-Accel-Redirect to the sample nginx and apache config files
This commit is contained in:
committed by
Diogo Cordeiro
parent
b4fced4bd7
commit
573ba2ee43
@@ -44,6 +44,11 @@
|
||||
# RewriteRule (.*) index.php/$1 [L,QSA]
|
||||
</IfModule>
|
||||
|
||||
# Enable X-Sendfile if available. Still needs to be enabled in the config
|
||||
<IfModule mod_xsendfile.c>
|
||||
XSendFile On
|
||||
</IfModule>
|
||||
|
||||
<FilesMatch "\.(ini)">
|
||||
<IfVersion < 2.3>
|
||||
Order allow,deny
|
||||
|
Reference in New Issue
Block a user