Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Howto use HTTPS and /odoo subfolder with Odoo 12 official Docker image

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
httpsapache2reverse_proxydockerodoo12
1 Balas
11064 Tampilan
Avatar
Nico Gulden

Hello,

we are using the official Odoo 12 Docker image. The Docker host already has Apache2 and serves another web application. The host can be reached via a FQDN and IP address for example master.ucs.demo and 10.200.2.20. We'd like to reach the Odoo 12 webinterface via https://10.200.2.20/odoo and https://master.ucs.demo/odoo.

I'd like to know two things:

  1. What needs to be done with the Apache2 webserver proxy configuration or the Odoo Docker container so 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?

Currently we have setup a separate Apache2 Virtual Host with a dedicated different FQDN:

<VirtualHost *:443>
        ServerName odoo.master.ucs.demo
# we would *love* to get rid of this

RewriteEngine on
RewriteOptions Inherit
ProxyPreserveHost on
ProxyTimeout 600

RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}

SSLEngine on
SSLProxyEngine on
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
SSLCertificateFile /etc/univention/ssl/odoo.master.ucs.demo/cert.pem
SSLCertificateKeyFile /etc/univention/ssl/odoo.master.ucs.demo/private.key
SSLCACertificateFile /etc/univention/ssl/ucsCA/CAcert.pem

ProxyPass / http://127.0.0.1:8069/ retry=0
ProxyPassReverse / http://127.0.0.1:8069/
# we would *love* to have this:
#ProxyPass /odoo http://127.0.0.1:8069/odoo retry=0
#ProxyPassReverse /odoo http://127.0.0.1:8069/odoo

ProxyPassReverse https://odoo.master.ucs.demo/ /
# we would *love* to get rid of this
</VirtualHost>

This configuration provides access Odoo via https://odoo.master.ucs.demo/. This is a separate Apache2 Virtual Host configuration without a subfolder.

We'd like to use the already present Virtual Host configuration for ucs.master.demo and 10.200.2.20 and add a reverse proxy setting for /odoo. One problem we observed, initial HTTPS requests always redirected back to HTTP. For security reasons we cannot deploy it with the HTTP setup. And we also don't want to add another subdomain, because this makes evaluation more complicated due to additional DNS setups.

I'm looking forward to responses.

Best regards
Nico

1
Avatar
Buang
Avatar
Jussi Lehto
Jawaban Terbai

Dear Nico

Have you any updates regarding your issue? I have the same issue at https://ucs.gulfeo.net which also can be accessed with the username demo and password Testi123!

IMHO the de-facto standard proxy for Odoo deployments is nginx, instead of Apache. Still, in the last years, I have configured Apache for Odoo and deployed Odoo on Docker environments, thus I could investigate the issue. How may I join the team to fix this issue for you?

Best regards

Jussi

jussi@gulfeo.com

1
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
How to use HTTPS and /odoo subfolder with apache Diselesaikan
https apache2 odoo12
Avatar
1
Sep 21
7152
Reverse Proxy sometime does not load in different browsers
apache2 reverse_proxy
Avatar
0
Mei 19
5198
How to define proxy rules for Odoo on Docker behind reverse proxy? Diselesaikan
https reverse_proxy
Avatar
1
Feb 17
11028
Odoo 12: Link Redirects broken using Nginx Diselesaikan
nginx reverse_proxy odoo12
Avatar
Avatar
Avatar
Avatar
4
Mei 24
9979
Deploying odoo behind Amazon ELB Diselesaikan
https aws docker
Avatar
Avatar
Avatar
Avatar
4
Jun 23
12691
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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