تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4428 أدوات العرض

I configured Odoo 11 behind Nginx proxy server, but my UTM link counts stuck after first click. Without proxy server it works just fine.

Any help is appreciated

Nginx upstream config file:

server {
listen      443;
server_name example.com www.example.com;
root        /config/nginx/www;
index       index.html index.htm;

# log files
access_log  /config/log/nginx/openerp.access.log;
error_log   /config/log/nginx/openerp.error.log;

# all ssl related config moved to ssl.conf
# include /config/nginx/ssl.conf;


# proxy buffers
proxy_buffers 16 64k;
proxy_buffer_size 128k;

## default location ##
location / {
    proxy_pass  http://openerp;
    # force timeouts if the backend dies
    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
    proxy_redirect off;

    # set headers
    proxy_set_header    Host            $host;
    proxy_set_header    X-Real-IP       $remote_addr;
    proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header    X-Forwarded-Proto https;
    proxy_set_header    Front-End-Https On;
    proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header    X-Forwarded-Host $host;
    proxy_set_header    X-Forwarded-Server $host;
    proxy_set_header    X-Forwarded-Proto $scheme;

}

# cache some static data in memory for 60mins
location ~* /web/static/ {
    proxy_cache_valid 200 60m;
    proxy_buffering on;
    expires 864000;
    proxy_pass http://openerp;
} 
}
الصورة الرمزية
إهمال
أفضل إجابة

Hi, you can follow this: https://youtu.be/-3wV7A_4s-w

Hope it helps

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
2437
1
يوليو 25
921
1
أغسطس 25
1151
0
مايو 25
1363
2
أبريل 25
3575