Continued a bit:

- removed/fixed whitespaces and mixture of spaces/tabs (some)
- added new-line character at end of files (POSIX-compilant)
- reverted some code which I had messed up (compared to upstream/develop)
- removed duplicate dba::update() invocation in src/Protocol/DFRN.php
- also removed no longer valid TODO

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2018-06-20 22:12:59 +02:00
parent f806fa91b1
commit 8ad523fbc8
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
9 changed files with 24 additions and 22 deletions

View file

@ -83,10 +83,9 @@ server {
# rewrite to front controller as default rule
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?pagename=$1;
rewrite ^(.*)$ /index.php?pagename=$1;
}
}
# make sure webfinger and other well known services aren't blocked
# by denying dot files and rewrite request to the front controller
@ -96,7 +95,7 @@ server {
rewrite ^(.*)$ /index.php?pagename=$1;
}
}
include mime.types;
# block these file types