conf
unknown
plain_text
3 years ago
978 B
6
Indexable
upstream odoo_upstream{ server odoo:8069; } upstream odoo_upstream_poll{ server odoo:8072; } map $http_x_forwarded_for $real_ip { ~^(\d+\.\d+\.\d+\.\d+) $1; default $remote_addr; } server { listen *:80; client_max_body_size 2050m; access_log /dev/stdout graylog2_json; error_log stderr warn; proxy_read_timeout 7200; proxy_connect_timeout 7200; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $real_ip; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $real_ip; location / { proxy_pass http://odoo_upstream; proxy_redirect off; } location /longpolling { proxy_pass http://odoo_upstream_poll; } location /nginx_status { stub_status; access_log off; allow all; } location /robots.txt { root /etc/nginx; } add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"; }
Editor is loading...