Resolved Failure: Getting Flask (gunicorn) to work from Plesk web interface

kinesis

New Pleskian
Server operating system version
5.15.0-161-generic #171-Ubuntu SMP
Plesk version and microupdate number
Plesk Obsidian 18.0.73 Update #5 Web Host Edition
I am not able to override ProxyPass to nginx from Gunicorn Flask application on port 5000.

These are the errors I get, trying the stuff I searched for on this forum.
 
Before adding any additional nginx directives in a location / { } block, first disable the Proxy mode setting on the same page, click the Apply button, then (only then) add your location / { } block with the ProxyPass options.
 
Before adding any additional nginx directives in a location / { } block, first disable the Proxy mode setting on the same page, click the Apply button, then (only then) add your location / { } block with the ProxyPass options.


actually for some reason it worked.
 
Back
Top