NiceGui and NGINX Unit #2117
Answered
by
rodja
interblitz
asked this question in
Q&A
NiceGui and NGINX Unit
#2117
-
QuestionIs NiceGui fully compatible with NGINX Unit? |
Beta Was this translation helpful? Give feedback.
Answered by
rodja
Dec 4, 2023
Replies: 1 comment 1 reply
-
|
NiceGUI is fully compatible with FastAPI so it should work out of the box: https://unit.nginx.org/howto/fastapi/. Just make sure you restrict the number of process to one (see #1539), because Unit does not support session affinity as far as I know. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
interblitz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NiceGUI is fully compatible with FastAPI so it should work out of the box: https://unit.nginx.org/howto/fastapi/. Just make sure you restrict the number of process to one (see #1539), because Unit does not support session affinity as far as I know.