Indexes our Nginx server and creates a homepage for its locations.
A screenshot of Nginx-Indexer running on our server
- Clone this repository
- Install the requirements (you can use
pip install -r requirements.txt
to automatically install all of them) - Edit
CONFIGURATION_PATHS
inmain.py
like so: Add the paths to every Nginx configuration file that initializes a location you would like indexed (usingos.path.join()
is recommended to guarantee the paths are correct) - Run
app.py
and visitlocalhost:5000
. The site should be live. - If you would like to host this page on your own Nginx server's root, we reccomend using
gunicorn
(should automatically be installed fromrequirements.txt
).
This project was created and installed onto the server by Daniel Ivanovich in March of 2019.