smallstep-certificates/autocert/examples/hello-mtls/py-gunicorn/server.py

10 lines
186 B
Python

from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!\n"
if __name__ == "__main__":
app.run(host='127.0.0.1', port=8080, debug=False)