mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Changed gunicorn path to since that appears to be standard for Ubuntu now
This commit is contained in:
parent
1cd20861f2
commit
19a302774a
@ -259,10 +259,10 @@ Restart the nginx service to use the new configuration.
|
|||||||
|
|
||||||
## gunicorn Configuration
|
## gunicorn Configuration
|
||||||
|
|
||||||
Save the following configuration file in the root netbox installation path (in this example, `/opt/netbox/`.) as `gunicorn_config.py`. Be sure to update the `pythonpath` variable if needed.
|
Save the following configuration file in the root netbox installation path (in this example, `/opt/netbox/`.) as `gunicorn_config.py`. Be sure to verify the location of the gunicorn executable (e.g. `which gunicorn`) and to update the `pythonpath` variable if needed.
|
||||||
|
|
||||||
```
|
```
|
||||||
command = '/usr/local/bin/gunicorn'
|
command = '/usr/bin/gunicorn'
|
||||||
pythonpath = '/opt/netbox/netbox'
|
pythonpath = '/opt/netbox/netbox'
|
||||||
bind = '127.0.0.1:8001'
|
bind = '127.0.0.1:8001'
|
||||||
workers = 3
|
workers = 3
|
||||||
|
Loading…
Reference in New Issue
Block a user