diff --git a/lab_app/hello.py b/lab_app/hello.py deleted file mode 100755 index 5a5ccdb..0000000 --- a/lab_app/hello.py +++ /dev/null @@ -1,11 +0,0 @@ -from flask import Flask -from flask import render_template -app = Flask(__name__) -app.debug = True - -@app.route("/") -def hello(): - return render_template('hello.html', message="Hello World!") - -if __name__ == "__main__": - app.run(host='0.0.0.0', port=8080) diff --git a/lab_app/lab_app_nginx.conf b/lab_app/lab_app_nginx.conf deleted file mode 100755 index 367a928..0000000 --- a/lab_app/lab_app_nginx.conf +++ /dev/null @@ -1,18 +0,0 @@ -#Full path: /var/www/lab_app/lab_app_nginx.conf - -server { - listen 80; - server_name localhost; - charset utf-8; - client_max_body_size 75M; - - location /static { - root /var/www/lab_app/; - } - - location / { try_files $uri @labapp; } - location @labapp { - include uwsgi_params; - uwsgi_pass unix:/var/www/lab_app/lab_app_uwsgi.sock; - } -}