X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mods%2Fsample-nginx.config;h=d6afe7174662f00d24c27439d13d0a85bfae820b;hb=653b8ac16eb091d52ea4328451cb52afc5e1565a;hp=e4ce902515e4c858bc2ff09da3e81c1dd2f11af3;hpb=0f10a2ab74571af5323021a67044bf798f52d099;p=friendica.git diff --git a/mods/sample-nginx.config b/mods/sample-nginx.config index e4ce902515..d6afe71746 100644 --- a/mods/sample-nginx.config +++ b/mods/sample-nginx.config @@ -84,7 +84,7 @@ server { # rewrite to front controller as default rule location / { - try_file $uri /index.php?pagename=$uri&$args; + try_files $uri /index.php?pagename=$uri&$args; } # make sure webfinger and other well known services aren't blocked @@ -127,6 +127,9 @@ server { include fastcgi_params; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + + fastcgi_buffers 16 16k; + fastcgi_buffer_size 32k; } # block these file types