Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

How to use HTTPS and /odoo subfolder with apache

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
httpsapache2odoo12
1 Răspunde
7186 Vizualizări
Imagine profil
Richard Crozier

This is closely related to the question here:

https://www.odoo.com/forum/help-1/question/howto-use-https-and-odoo-subfolder-with-odoo-12-official-docker-image-151737

In fact it is identical, except that I am not using docker, but have installed odoo using the debian repository. I would have just commented on the previous issue but I don't have enough karma as a new user.

However, to repeat what was said in that query, I want to access my odoo instance at an address like

https://<my ip>/odoo and https://<my subdomain>/odoo

I'd like to know two things:

 1.   What needs to be done with the Apache2 webserver proxy configurationso that requests to the above URLs with subfolder are correctly processed by Odoo?

 2.   What needs to be done so that the reverse proxy can work as HTTPS endpoint and forward the requests to the Odoo container?


I tried changing proxy_mode = True in /etc/odoo/odoo.conf and the following configuration file for apache (put in /etc/apache2/sites-available/odoo.conf and activated with a2ensite):

<Proxy *>
     Order allow,deny
     Allow from all
</Proxy>
#
ProxyPass /odoo http://localhost:8069
ProxyPassReverse /odoo http://localhost:8069

I have tried several variations on this with no success. With the above config, the address seems to get redirected from https://<my domain>/odoo to https://<my domain>/web and I get a 404 not found error.


I also now tried this:


<Location /odoo>

  ProxyPass http://localhost:8069 retry=0

  # retry=0 => avoid 503's when restarting etherpad-lite

  ProxyPassReverse http://localhost:8069

  SetOutputFilter proxy-html

  ProxyHTMLURLMap http://localhost:8069

</Location>

RewriteRule ^/odoo$ /odoo/ [R]


Based on


https://serverfault.com/questions/561892/how-to-handle-relative-urls-correctly-with-a-reverse-proxy/561897


bit I still get redirected to /web and get a 404

0
Imagine profil
Abandonează
Imagine profil
Richard Crozier
Autor Cel mai bun răspuns

I ended up just using a subdomain, and adding a redirect from /odoo to https://odoo.mywebsite.com/ doesn't seem to be possible to have a subfolder due to reasons deep in the odoo code.

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Howto use HTTPS and /odoo subfolder with Odoo 12 official Docker image
https apache2 reverse_proxy docker odoo12
Imagine profil
Imagine profil
1
iun. 20
11089
Mixed Content error on website module
https
Imagine profil
Imagine profil
Imagine profil
Imagine profil
3
iun. 25
3094
Odoo Mail Sending Limit Rezolvat
odoo12
Imagine profil
Imagine profil
Imagine profil
2
dec. 23
16563
(Document type: Invoice, Operation: write) - (Records: [], User: 2)
odoo12
Imagine profil
0
oct. 23
33
Error while importing data in Odoo12: An unknown issue occurred during import (possibly lost connection, data limit exceeded or memory limits exceeded)
odoo12
Imagine profil
Imagine profil
Imagine profil
Imagine profil
3
oct. 23
790
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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