Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
a801bf2a
Commit
a801bf2a
authored
Aug 11, 2014
by
jkaberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
white spaces argh.
parent
0899952f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
nginx.conf
conf/nginx.conf
+18
-18
No files found.
conf/nginx.conf
View file @
a801bf2a
...
...
@@ -29,21 +29,21 @@ server {
# ownCloud configuration
# TODO: we should support owncloud to be loaded from www root, but for now we dont :-)
client_max_body_size
10G
;
# set max upload size
fastcgi_buffers
64
4K
;
fastcgi_buffers
64
4K
;
location
=
/robots.txt
{
location
=
/robots.txt
{
allow
all
;
log_not_found
off
;
access_log
off
;
}
log_not_found
off
;
access_log
off
;
}
error_page
403
/owncloud/core/templates/403.php
;
error_page
404
/owncloud/core/templates/404.php
;
error_page
403
/owncloud/core/templates/403.php
;
error_page
404
/owncloud/core/templates/404.php
;
rewrite
^/caldav(.*)
$
/owncloud/remote.php/caldav
$1
redirect
;
rewrite
^/carddav(.*)
$
/owncloud/remote.php/carddav
$1
redirect
;
rewrite
^/webdav(.*)
$
/owncloud/remote.php/webdav
$1
redirect
;
rewrite
^/owncloud
$
/owncloud/
redirect
;
rewrite
^/caldav(.*)
$
/owncloud/remote.php/caldav
$1
redirect
;
rewrite
^/carddav(.*)
$
/owncloud/remote.php/carddav
$1
redirect
;
rewrite
^/webdav(.*)
$
/owncloud/remote.php/webdav
$1
redirect
;
rewrite
^/owncloud
$
/owncloud/
redirect
;
rewrite
^/owncloud/
$
/owncloud/index.php
;
location
/owncloud/
{
...
...
@@ -61,15 +61,15 @@ server {
}
location
~
^/(data|config|\.ht|db_structure\.xml|README)
{
deny
all
;
}
deny
all
;
}
# Optional: set long EXPIRES header on static assets
location
~
*
^.+
\
.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)
$
{
expires
30d
;
# Optional: Don't log access to assets
access_log
off
;
}
location
~
*
^.+
\
.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)
$
{
expires
30d
;
# Optional: Don't log access to assets
access_log
off
;
}
# Webfinger configuration.
# TODO: fix this for owncloud: http://doc.owncloud.org/server/5.0/admin_manual/installation/installation_others.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment