gunicorn
This commit is contained in:
parent
25cd0fd1b8
commit
c3edaefdaf
2 changed files with 3 additions and 2 deletions
4
app.py
4
app.py
|
@ -2,10 +2,10 @@ from flask import Flask, render_template
|
||||||
from bpy2 import bp, bp2
|
from bpy2 import bp, bp2
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.register_blueprint(bp)
|
|
||||||
app.register_blueprint(bp2)
|
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
return render_template('maint.html')
|
return render_template('maint.html')
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
app.run()
|
||||||
|
|
1
nginx.conf
Normal file
1
nginx.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
upstream app_server
|
Loading…
Add table
Reference in a new issue