Skip to content

Commit f59e789

Browse files
bradarmBrad Armstrong
and
Brad Armstrong
authored
fixes typo in gunicorn command line arguments and adds SSL verification to incoming connections (#10)
Co-authored-by: Brad Armstrong <[email protected]>
1 parent 21604f8 commit f59e789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if [[ "${PYPISERVER_ENABLED}" == "true" ]]; then
3939
echo "PYPISERVER_ENABLED='true'. Starting the PyPiServer..."
4040
# Run the pypi server in the background
4141
mkdir -p /data/packages
42-
export GUNICORN_CMD_ARGS="--accesslog - --errorlog - --preload --workers 1 --worker-class gevent"
42+
export GUNICORN_CMD_ARGS="--access-logfile - --error-logfile - --workers 1 --worker-class gevent --keyfile /certs/registry.spacefx.local.key --certfile /certs/registry.spacefx.local.crt"
4343
/pypi-server/bin/pypi-server run -a . -P . -p ${PYPISERVER_PORT:-$PORT} --server gunicorn --backend cached-dir /data/packages --verbose --log-file /var/log/pypiserver.log &
4444
PYPI_PID=$!
4545
echo "...PyPiServer started."

0 commit comments

Comments
 (0)