İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2752 Görünümler

I have the next problem

1. i log in in odoo using www.adntienda.com

2. I change the domain by adntienda.com

3. I lose the session in odoo then i need log in signin again

There are any way to solve this ? configuration for example



Avatar
Vazgeç
En İyi Yanıt

you can use one as preferred and make the other redirects to preferred one, I do this with nginx:

server{

        listen 80;
        server_name avanzaconsulting.co;
        # Strict Transport Security
      add_header Strict-Transport-Security max-age=15768000;
         # log
        access_log /var/log/nginx/odoo.avancons.access.log;
        error_log /var/log/nginx/odoo.avancons.error.log;

     # Redirect 301 to HTTPS
     return 301 http://www.$host$request_uri;
}

But if you have apache or other systems, the settings are similar.

Maybe if you provide more information, we can help you with precision.

Avatar
Vazgeç

you don't really need HTHS headers in there.