Skip to content

Commit

Permalink
add missing filee uwsgi_subdir.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Nov 11, 2020
1 parent 9690452 commit f692efb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions sample-deploy/uwsgi_subdir.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[uwsgi]
if-not-env = PORT
http-socket = :8080
socket = :8081
endif =

master = true
buffer-size = 65536
die-on-term = true

if-env = VIRTUAL_ENV
venv = $(VIRTUAL_ENV)
endif =

gevent = 100

#Not available until uwsgi 2.1
#monkey-patching manually in pywb.apps.wayback
#gevent-early-monkey-patch =
# for uwsgi<2.1, set env when using gevent
env = GEVENT_MONKEY_PATCH=1

# specify config file here
env = PYWB_CONFIG_FILE=config.yaml
#wsgi = pywb.apps.wayback

# config to run pywb from a prefix
mount = /wayback=/pywb/pywb/apps/wayback.py
manage-script-name = true

0 comments on commit f692efb

Please sign in to comment.