Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing Netbox (in a virtualenv) with Apache and uwsgi on Debian
apt-get install apache2 libapache2-mod-proxy-uwsgi uwsgi uwsgi-plugin-python3
project = netbox
plugins = python34
# If want to use netbox in a virtualenv set its path here.
#virtualenv = /opt/virtualenvs/netbox
base = /opt/netbox/
chdir = %(base)/%(project)
module = %(project).wsgi:application
socket =
master = True
processes = 4
<VirtualHost *:80>
DocumentRoot /srv/http/
<Directory /srv/http/>
Require all granted
Options FollowSymLinks
AllowOverride All
ProxyPass /static !
ProxyPass / uwsgi://
Alias /static /opt/netbox/netbox/static
<Directory /opt/netbox/netbox/static>
Require all granted
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.