Nginx reverse proxy with separate aliases
- by gabeDel
Interesting question I have this python code:
import sys, bottle, gevent
from bottle import *
from gevent import *
from gevent.wsgi import WSGIServer
@route("/")
def index():
yield "/"
application=bottle.default_app()
WSGIServer(('', port), application, spawn=None).serve_forever()
that runs standalone with nignx infront of it as a reverse…