以下是转载内容:
server{ listen 80; server_name odoo9; location / { proxy_pass http://0.0.0.0:8069; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /longpolling/ { proxy_pass http://localhost:8072/longpolling/; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }
时间: 2024-11-09 03:23:49