Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Ayuda

Localhost:8069 issues with ssl and reverse proxy

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Esta pregunta ha sido marcada
paypalecommercereverse_proxywebsitesitemap
2 Respuestas
4671 Vistas
Avatar
Modern Love, Mark Ballash

Hi - I have two issues that are causing me grief. Am running Odoo 16 Community in a docker environment with nginx on Ubuntu 20.04.

1.  The generated sitemap has addresses using localhost:8069 instead of my domain name.

http://localhost:8069/website/infohttp://localhost:8069/eventshttp://localhost:8069/termshttp://localhost:8069/blog 

2 - I have installed Paypal module to handle website payments and everything works except the return address from paypal also has localhost:8069 as the address, despite me manually putting a return address in my Paypal account setup.

 

I have set the system parameter to my domain name and added the freeze parameter, this has had no effect on either issue.

From searching the only thing I think it could be is there is something wrong with the reverse proxy setup in nginx, though my gut says both these problems are coming from Odoo not the web server.  Here is my odoo.conf file:

server {

    server_name mydomain.com;


    access_log  /var/log/nginx/odoo.access.log;

    error_log   /var/log/nginx/odoo.error.log;


    location / {

      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

      proxy_set_header X-Real-IP $remote_addr;

      proxy_set_header X-Forwarded-Host mydomain.com;

      proxy_set_header X-Forwarded-Proto https;

      proxy_pass http://localhost:8069;


  }


    listen [::]:443 ssl ipv6only=on; # managed by Certbot

    listen 443 ssl; # managed by Certbot

    ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # managed by Certbot

    ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # managed by Certbot

    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot

    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot


}

server {

    if ($host = mydomain.com) {

        return 301 https://$host$request_uri;

    } # managed by Certbot



    listen       80;

    listen       [::]:80;

    server_name  mydomain.com;

    return 404; # managed by Certbot



}


Anything wrong here?

For for the sitemap I have tried deleting the sitemap-1.xml attachment, it always regenerates a new sitemap, still with the localhost addresses!

 

Any help would be appreciated!

 

Thanks,

 

Mark


0
Avatar
Descartar
Cybrosys Techno Solutions Pvt.Ltd

Hi,
Please go through our blog How to Configure Odoo with Nginx as Reverse Proxy
https://www.cybrosys.com/blog/how-to-configure-odoo-with-nginx-as-reverse-proxy

Avatar
Kayes
Mejor respuesta

Hi Mark, 

I am having the same issue, did you find the solution for it? 

0
Avatar
Descartar
Avatar
Modern Love, Mark Ballash
Autor Mejor respuesta

I read the response by  Cybrosys Techno Solutions Pvt.Ltd Am not too sure it was helpful.

The reverse proxy I have does work to access the site over https.  Problem is with the sitemap and address passed to paypal.  These seem to be internal issues within Odoo no?  Odoo generates and writes the sitemap correct?  And the return address that gets passed to paypal comed from odoo? 


Mark

0
Avatar
Descartar
Modern Love, Mark Ballash
Autor

Kayes - yes I did find a solution - it was to abandon using docker and just do a normal install of Odoo. The Odoo config file need a setting to tell it it is operating in a reverse proxy scenario. I can't quite remember something like proxy = 1. I searched and searched but could find no way to pass that setting to the Odoo installation from the Docker configs...

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Add to cart code if using odoo web.
ecommerce website
Avatar
0
abr 25
1956
Is it possible to have 3 websites on same odoo instance(Odoo Online)
ecommerce website
Avatar
Avatar
1
may 24
5737
pause Ecommerce store - vacation mode?
ecommerce website
Avatar
Avatar
1
abr 24
3561
Website Product Block Image Low Quality
ecommerce website
Avatar
0
nov 25
2646
What is the fastest website solution?
ecommerce website
Avatar
Avatar
1
may 23
5976
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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