Sari la conținut
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
    • Property Management
    • 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
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Toate postările Oameni Insigne
Etichete (Vezi tot)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Toate postările Oameni Insigne
Etichete (Vezi tot)
odoo accounting v14 pos v15
Despre acest forum
Suport

What does config setting proxy_mode do?

Abonare

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

Această întrebare a fost marcată
configuration
2 Răspunsuri
44185 Vizualizări
Imagine profil
thenon

I'm trying to set up a reverse proxy (in order to get SSL working on Windows - doesn't seem like there's any other way).

Trouble is that when I access https://foo (via the reverse proxy), OpenERP responds with a redirect to http://foo.

Setting

proxy_mode = True

does not make it leave the url alone like I'd hope. What is it supposed to do? How can I get it to not change the protocol?

Thanks

0
Imagine profil
Abandonează
Imagine profil
A Nhomar Hernandez
Cel mai bun răspuns

Your problem is with the configuration od the web-server.

What are you using, nginx or apache2?

If you are using nginx:

upstream openerpweb {
#If the server is in other IP change localhost by the ip of openerp server
server localhost:8069 weight=1 max_fails=3 fail_timeout=30s;
#Just uncomment this line as many times as servers you have, remember change 
#the port
#server localhost:8069 weight=1 max_fails=3 fail_timeout=30s;}

server {
#If Apache is in the server change the port to avoid port conflicts.
listen 80;

###################################################################
#Here Hostname that will be called in the browser.
#Remember you should have 1.- DNS CNAME or 2.- edit your /etc/hosts
#with this name dns.example.com.
###################################################################
server_name    dns.example.com;
#Put name of instance replacing 'openerp'
#to be sure every instance manage its own log
access_log    /var/log/nginx/openerp-access-http.log;
error_log    /var/log/nginx/openerp-error-http.log;
#What will happen in root.
location / {
    proxy_pass    http://openerpweb;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
    # by default, do not forward anything
    proxy_redirect off;
    error_page 502 = /50x.html;
}
#How we will manage static files
location ~* /web/static {
    proxy_cache_valid 200 60m;
    send_timeout 200;
    proxy_read_timeout 200;
    proxy_connect_timeout 200;
    proxy_buffering    on;
    expires 864000;
    proxy_pass    http://openerpweb;
}
#webdav stuff
#TODO This doc
 location ~* /webdav {
    proxy_cache_valid 200 60m;
    send_timeout 200;
    proxy_read_timeout 200;
    proxy_connect_timeout 200;
    proxy_buffering    on;
    expires 864000;
    proxy_pass    http://openerpweb;
}
#When Server is down, change by our own 50x.html template
#A 50x template is the html shown when openerp server fails
location = /50x.html {
    root /usr/share/nginx/www;
}}

This is the config file to use.

If you have any doubt, just make an answer ;-)

Regards.

0
Imagine profil
Abandonează
thenon
Autor

Hi, thank you for your response - but using IIS with ARR actually. Its possible the mistake is in my configuration there, but my question still stands - what does proxy_mode do?

Imagine profil
NeoNile LLC, Mustafa Rawi
Cel mai bun răspuns

According to this:

Enable correct behavior when behind a reverse proxy

proxy_mode = True

0
Imagine profil
Abandonează
Îți place discuția? Nu doar citi, alătură-te!

Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!

Înscrie-te
Postări similare Răspunsuri Vizualizări Activitate
database
configuration
Imagine profil
0
mar. 26
91
Hello Everyone,
configuration
Imagine profil
0
mar. 26
7
Checkout with a calendar that is related to Appointments
configuration
Imagine profil
1
feb. 26
295
📌 Unable to login Outlook — 😕📧 +1 (844) 886-3118
configuration
Imagine profil
0
feb. 26
2
Real Time connection lost issue in Odoo19 community edition on Ubuntu
configuration
Imagine profil
Imagine profil
1
feb. 26
272
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 Svenska ภาษาไทย 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