콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6955 화면

Hello everyone

I've been working with Odoo for several years now but I still don't understand what is the use of Apache or nginx with Odoo?

I mean, Odoo runs perfectly without them on a local machine so why do we need to use them on a staging or production environment?

Maybe I don't really understand what is the use of a web server.

아바타
취소
베스트 답변

Hi, 
In your local instance  currently the Odoo may be running as a single process, and single thread will be handling all the incoming requests.


To handle multiple request and multiple users at a time, we have to enable workers in Odoo

And to configure workers we use revers proxy like nginx and apache


Refer this video for details: https://youtu.be/-hVYQd7A7PQ

and https://youtu.be/dQtIKmNdVgA


Check this post also: https://www.odoo.com/forum/help-1/odoo-worker-number-calculation-for-multiprocessing-172597


Hope this will help you 


Thank you 

아바타
취소
작성자

So, as soon as I set worker=0, there is no need to use a Apache or Nginx?

This is exactly the kind of answer I was waiting for
Thank you

베스트 답변

Hi, you can follow this: https://youtu.be/-3wV7A_4s-w

Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
2
9월 24
2265
1
5월 24
3457
2
5월 24
14756
1
6월 20
6370
0
10월 17
3527