Add forgotten #101 speed-up in CHANGES.

+ doc: Add example *nginx* config for speeding-up serving of packages.
+ build: Explain which file to use for building standalone.
[ci skip]
This commit is contained in:
Kostis Anagnostopoulos 2016-01-19 20:48:01 +01:00
parent e25f9a6508
commit 2667df7125
4 changed files with 16 additions and 2 deletions

View File

@ -3,6 +3,11 @@ Changelog
1.1.10 (2016-01-19)
------------------
Serve 1000s of packages, PGP-Sigs, skip versions starting with 'v'.
+ #101: Speed-up server by (optionally) using the `watchdog` package
to cache results, serve packages directly from proxying-server (*Apache* ,
*nginx*), and pre-compile regexes (thanks @virtuald).
- #106: Support uploading PGP-signatures (thanks @mplanchard).
- Package-versions parsing modifications:

View File

@ -390,9 +390,16 @@ install the ``watchdog`` package, or it can be installed by installing
pip install pypi-server[cache]
If you are using a static webserver such as *Apache* or *Nginx* as
If you are using a static webserver such as *Apache* or *nginx* as
a reverse-proxy for pypiserver, additional speedup can be gained by
directly serving the packages directory.
directly serving the packages directory:
For instance, in *nginx* you may adding the following config to serve
packages-directly directly (take care not to expose "sensitive" files)::
location /packages/ {
root /path/to/packages/parentdir;
}
Using a different WSGI server

View File

@ -2,6 +2,7 @@
##
## Create an executable file and add it into `standalone` branch
##
## Invoke it directly on the commmit "tagged" for a release.
## Invoke it with any arg to avoid committing into `standalone` branch.
my_dir="$(dirname "$0")"

View File

@ -1,6 +1,7 @@
#! /bin/sh
##
## Create an executable zip file.
## Invoked by `commit-standalone.sh`.
set -o errexit