mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 04:28:17 -06:00
15154 update docs and ini file
This commit is contained in:
parent
fa4a31a52e
commit
503ac97532
12
contrib/uwsgi.ini
Normal file
12
contrib/uwsgi.ini
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[uwsgi]
|
||||||
|
; fail to start if any parameter in the configuration file isn’t explicitly understood by uWSGI.
|
||||||
|
strict = true
|
||||||
|
|
||||||
|
; re-spawn and pre-fork workers
|
||||||
|
master = true
|
||||||
|
|
||||||
|
; clear environment on exit
|
||||||
|
vacuum = true
|
||||||
|
|
||||||
|
; exit if no app can be loaded
|
||||||
|
need-app = true
|
@ -10,7 +10,7 @@ NetBox ships with a default configuration file for uWSGI. To use it, copy `/opt/
|
|||||||
sudo cp /opt/netbox/contrib/uwsgi.ini /opt/netbox/uwsgi.ini
|
sudo cp /opt/netbox/contrib/uwsgi.ini /opt/netbox/uwsgi.ini
|
||||||
```
|
```
|
||||||
|
|
||||||
While the provided configuration should suffice for most initial installations, you may wish to edit this file to change the bound IP address and/or port number, or to make performance-related adjustments. See [the uWSGI documentation](https://uwsgi-docs-additions.readthedocs.io/en/latest/Options.html) for the available configuration parameters.
|
While the provided configuration should suffice for most initial installations, you may wish to edit this file to change the bound IP address and/or port number, or to make performance-related adjustments. See [the uWSGI documentation](https://uwsgi-docs-additions.readthedocs.io/en/latest/Options.html) for the available configuration parameters. Django also provides [additional documentation](https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/uwsgi/) on configuring uWSGI with a Django app.
|
||||||
|
|
||||||
## systemd Setup
|
## systemd Setup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user