Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2745 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit

you don't really need HTHS headers in there.