NGINX Web Server
NGINX is a strong option as the reverse proxy web server for Pyramid. It is especially useful for Linux deployments. It can be used in Windows as well. However, the IIS option for Windows is often more convenient.
Installing and Configuring NGINX
These instructions are for Ubuntu/Debian Linux.
Install NGINX
Configure the NGINX Default file
now go to /etc/nginx/sites-available. Open the default file and edit it.
Add/Edit the following text in the default file
Next, add another set of entries to this file for the SSL certificate processing (if required) inside the second “server” node of the file. Be sure to use your names for the CRT and KEY files for your SSL certification.
Add another entry:
Other Settings
Setting NGINX file upload limit:
add the following lines under the http section and save the file:
Save and restart the NGINX service: