Thanks for the quick response. I tried that, still getting 500 the same problem -
$ doas uwsgi --socket /var/www/run/hello.sock --wsgi-file myproject.py --master --callable app In /etc/httpd.conf - location "/hello/*" { fastcgi socket "/run/hello.sock" } Regards. -- Ajitabh Pandey On Wed, Oct 18, 2017 at 1:22 PM, Kim Zeitler <kim.zeit...@konzept-is.de> wrote: > Hi > > you have a slight error, fastcgi wants a socket not a port. > > On 10/18/17 09:36, Ajitabh Pandey wrote: > >> Hi, >> >> I am trying to setup a sample flask application proxy through OpenBSD >> httpd. Here is the config - >> >> -------------------------------</etc/httpd.conf>------------------- >> ext_ip="192.168.1.111" >> >> prefork 2 >> >> server "default" { >> listen on $ext_ip port 80 >> root "/htdocs" >> >> location "/hello/*" { >> fastcgi socket ":8888" >> } >> > > from httpd.conf(5) > ... > Enable FastCGI instead of serving files. The socket is a local > path name within the chroot(2) root directory of httpd(8) and > defaults to /run/slowcgi.sock. > ... > > Try running uwsgi with a socket in /var/www/run instead of an tcp port > > > -- > Kim Zeitler > Bachelor of Science (Hons) > > Konzept Informationssysteme GmbH > Am Weiher 13 • 88709 Meersburg > > Fon: +49 7532 4466-240 > Fax: +49 7532 4466-66 > kim.zeit...@konzept-is.de > www.konzept-is.de > > Amtsgericht Freiburg 581491 • Geschäftsführer: Dr. Peer Griebel, > Frank Häßler, Dr. Christophe Schoenenberger > > -- Ajitabh Pandey http://ajitabhpandey.info/ | http://unixclinic.net/ | http://buddingthoughts.info ICQ - 150615062 Registered Linux User - 240748