Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

How to pass openerp with nginx accessed from root on different port

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
nginxlocationport
2 Odpowiedzi
10951 Widoki
Awatar
Nic Windley

Hello All,

Fairly new to openerp and just getting to grips with it.

With openerp installed in a sub folder, accessible from the root URL;

www.thedomain.ext

and nginx installed, it requires passing of port 8069 to allow client access.

If a location for 8081 is already specified in the nginx conf file I believe you can only add a second port with a different location path.

It would appear that the best way to do this would be to move openerp to a sub domain ?

If not, is there a better way ?

If so, what modifications would be required to ensure openerp runs from a sub domain correctly.

Thanks,

Nic

1
Awatar
Odrzuć
Awatar
Nic Windley
Autor Najlepsza odpowiedź

Oops, just realised my error. I need to ask nginx listen to the other port for openerp connections and pass them accordingly!!

UPDATE: Nope, that will just cause the binding of openerp to fail.

Hoping for some sage advice.

0
Awatar
Odrzuć
Awatar
IBS Group
Najlepsza odpowiedź

You have to set up a reverse proxy.

  • Go to your Nginx nginx.conf file.
  • inside http add:

    server {
        listen [DESIRED PORT];
        server_name www.thedomain.ext;
        access_log [NGINX ACCESS LOG FILE LOCATION];
        error_log [NGINX ERROR LOG FILE LOCATION];
        location / {
            proxy_pass http://127.0.0.1:[OPENERP PORT];
        }
    }
    

Note: Check if Apache is using port 80, if it is, use another port.

0
Awatar
Odrzuć
Nic Windley
Autor

Thats what I had Karim. I'f I use listen 80 with proxy_pass 8069 client is not connecting. If I listen port 8069 it stops the server from binding. Was working prior to nginx install. Unless re-installing apache would break something (other than needing to reinstall nginx) ?

IBS Group

Did you check your firewall settings? Did you restart Nginx when you set up the reverse proxy?

IBS Group

Also are you sure Apache is not already using port 80, did you try with another port?

Nic Windley
Autor

Every change I made to Nginx I restarted Nginx to ensure the new conf file were picked up again. Err, yes apache is using port 80 so what port should I be listening on as this domain serves multiple purposes. It servers content on port 80 (via apache) and should / was providing openerp server via 8069. Then I installed nginx. What am I missing ?

IBS Group

Simply use another port, for instance 8070 because 80 is already used by Apache.

Nic Windley
Autor

Do you mean in the nginx conf file Karim ? i.e. listen 8070;

IBS Group

Indeed Nic, also make sure you allow that port through the firewall.

Nic Windley
Autor

OK will do.

Nic Windley
Autor

Nope, didn't work for me Karim. Server sits there waiting for connection and client fails to connect. I'm going to remove nginx and see if easyapache broke the openerp install. Thank you for your advice.

Nic Windley
Autor

Any idea if easyapache would break anything in openerp (I have to reinstall nginx if I run it) ?

Nic Windley
Autor

Does /etc/httpd/conf/httpd.conf get modified by openerp ?

IBS Group

I am not sure, just one question, are you able to access your OpenERP server through the 8069 port?

Nic Windley
Autor

OK, after removing nginx it looks as if the problem remains so easyapache must have modified some files that openerp changed. Can't access openerp through anyport.

IBS Group

OpenERP doesn't modify other software's configuration files. I think you might be having a firewall issue.

Nic Windley
Autor

I'm using the web client so I don't think its a firewall issue (it worked before and i've remove nginx for now) ? So when installing on a linux server there are no changes to other .conf or similar files that could be overwritten by something like easyapache ?

Nic Windley
Autor

Finally figured it out and how silly of me. I added a bunch of domains to Incapsula and the one running openerp was also one of them which is casugin all ports to be blocked!!!

IBS Group

I am glad you fixed it.

Nic Windley
Autor

And my thanks for your help Karim.

IBS Group

No problem at all Nic.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Why am I getting 502 error with longpolling?
nginx port longpoll
Awatar
Awatar
Awatar
3
gru 19
22746
deny access to my_ip_adress: port_number Rozwiązane
domain nginx ip port
Awatar
Awatar
Awatar
Awatar
3
sty 25
8298
Nginx odoo 16 proxy and method not allowed 405
nginx
Awatar
Awatar
2
wrz 24
3667
How can I setup odoo on a path with nginx
nginx
Awatar
Awatar
1
maj 24
4540
Nginx with Odoo configuration: host not found in upstream
nginx
Awatar
Awatar
Awatar
2
maj 24
15912
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now