Commit Graph

27 Commits

Author SHA1 Message Date
Wouter Broers 2b38b7b7de Updated .well-known location within Nginx Sample Config:
Replaced try_files with a rewrite rule to prevent Nginx
from spitting out 404 errors on addresses like:
- <server.tld>/.well-known/host-meta
- <server.tld>/.well-known/x-social-ray
- <server.tld>/.well-known/nodeinfo
- <server.tld>/.well-known/webfinger?resource=<resource>
2018-12-01 19:04:34 +01:00
Andy H bb767dda51
Update sample-nginx.config 2018-11-19 23:31:54 +07:00
Andy H 80a990a7d5
Update sample-nginx.config
Added buffers and buffer size
2018-11-19 23:26:34 +07:00
rebeka-catalina e0ecbd0b95 typo correction of try_files directive (#5387) 2018-07-16 02:53:50 -04:00
Andreas Neustifter 6a85b34504 [nginx] Use try_file instead of if.
See https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/?utm_source=tool.lu#check-if-file-exists.
2018-07-09 12:42:32 +02:00
Andreas Neustifter 79a8320fed [nginx] Use try_files instead of if for /.well-known/.
See https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/
2018-07-09 12:42:32 +02:00
Andreas Neustifter f44cb1ccce [nginx] Move together deny blocks. 2018-07-09 12:42:32 +02:00
Andreas Neustifter cb600b5a5f [nginx] Readd option to statically server pictures. 2018-07-09 12:42:32 +02:00
Andreas Neustifter 92f47f8eca [nginx] Fix indentation. 2018-07-09 12:42:32 +02:00
Roland Häder 8ad523fbc8
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>
2018-06-20 22:19:54 +02:00
Tobias Diekershoff 6e02c0e908 hopefully fixing indentation... 2018-05-25 13:56:54 +02:00
Tobias Diekershoff 132653ac56 applying changes to mods/sample-nginx.config from #5019 2018-05-25 08:22:49 +02:00
Andy H e22f7a3c31
Update sample-nginx.config
Updated default path to PHP7.0

PHP5.0 is not considered standard any more.
2018-05-16 11:10:19 +07:00
Tobias Diekershoff 339f922652 revert unwanted (?) changes 2017-10-05 10:02:06 +02:00
Alexander Fortin 1939de2b33 Fix Nginx example config
Check https://stackoverflow.com/questions/15423500/nginx-showing-blank-php-pages#16887296
for the rest of the change (without, I get white page on a testing
vagrant box)
2017-09-23 20:55:49 +02:00
Roland Häder 4e49939421
Merge remote-tracking branch 'upstream/develop' into rewrites/coding-convention-split2-6-2
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-06-13 23:26:06 +02:00
Thomas Willingham 805406a9d1 Requested changes 2017-05-16 00:22:17 +01:00
Thomas Willingham 1a1469339d red > Friendica 2017-05-15 10:39:39 +01:00
Thomas Willingham 8af7df4259 Update nginx 2017-05-15 10:36:56 +01:00
Olaf Conradi 0c31ca6c29 Backport Nginx sample config from Red to Friendica 2013-11-13 00:29:12 +01:00
Olaf Conradi 492a42eebe Add ttf and svg to skip the front controller
This makes themes that rely on the correct mimetype work.
2013-01-15 10:28:24 +01:00
Olaf Conradi c490074589 Typos 2012-12-15 16:43:24 +01:00
Olaf Conradi 30b5e08eb6 Fix rewrite rules to pass arguments
Fix location regex for extensions to end with $
Add more comments
2012-12-15 16:21:50 +01:00
Olaf Conradi b38b62f759 Modify nginx sample to a real config file 2012-12-15 16:01:20 +01:00
friendica 6faadc9662 anybody can see the "remove category" link, though it doesn't do anything if you aren't the owner. Can't believe this has gone so long without being reported. 2012-12-13 14:15:18 -08:00
friendica 6fb49a4de9 nginx config update 2012-12-12 19:44:59 -08:00
friendica 5d757b0668 add sample nginx config from Olaf Conradi to mods directory 2012-12-12 15:54:13 -08:00