Here, I setup web server in my Raspberry Pi. I made a website in Pi to show temperature and humidity using DHT22 sensor.
Main files are:-
- lab_app_uwsgi.ini
- lab_app_nginx.conf
- lab_app.py
Javascript
Jquery
Flask
mySQL
Nginx - Gateway to connect to uWSGI, by proper port number and IP address using lab_app_nginx.conf
uWSGI - Connect to flask server by creating socket using lab_app_uwsgi.ini