Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 04-20-2017, 07:24 PM   #1
Registered: Aug 2011
Location: Midwest-USA
Distribution: Slackware
Posts: 70

Rep: Reputation: Disabled
OpenBSD httpd bottle app and uwsgi

I want to develope and deploy bottle apps on OpenBSD using the native httpd web server. From what I have found, the uWSGI will run the bottle app and the httpd will proxy the request. I do not follow how uWSGI gets started nor how to use the ini file on OpenBSD.

I can start the httpd and serve static content and my bottle app works fine with the development web server and pythonanywhere. Now I need to run it using httpd and uwsgi. How do I start the uwsgi server?

server "default" {
        listen on egress port 80

        location "/bottleapp/*" {
                fastcgi socket ":3031"
types {
        text/css css ;
        text/html htm html ;
        text/txt txt ;
        image/gif gif ;
        image/jpeg jpg jpeg ;
        image/png png ;
        application/javascript js ;
        application/xml xml ;
Old 04-21-2017, 02:00 PM   #2
Senior Member
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 1,950

Rep: Reputation: Disabled
This may help you -
Old 04-21-2017, 02:06 PM   #3
Registered: Aug 2011
Location: Midwest-USA
Distribution: Slackware
Posts: 70

Original Poster
Rep: Reputation: Disabled
I have been looking through that document. The httpd server is the native OpenBSD one, not apache.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPI/odroid/banana storage with archlinux arm + mariadb + nginx + uwsgi DarkhunterCZ Linux - Embedded & Single-board computer 0 12-26-2016 09:52 PM
[SOLVED] autostart uwsgi as a user 'webmaster' gonny95 Linux - Newbie 0 02-09-2015 06:45 AM
$JAIL for mysql and uWSGI as well as nginx. poly_s Linux - Server 1 12-04-2013 08:56 AM
System becoming very sluggish, hard to tell what the bottle neck is... tgp1994 Linux - Software 10 01-23-2010 04:40 AM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 12:26 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration