To self-host Odoo safely, keep Odoo on a private address such as 127.0.0.1:8069 and let Nginx be the public entry point. Nginx owns port 80, redirects HTTP to HTTPS, terminates TLS, forwards the required proxy headers, and sends application traffic to Odoo. Realtime traffic must also be sent to the long-polling or gevent worker required by your Odoo release. Odoo’s production guidance requires HTTPS for authentication traffic and says proxy mode must be enabled only when Odoo is behind a reverse proxy.
Antihost offers Linux VPS plans with full root access, unlimited traffic on a 1 Gbps port and a 14-day free trial.
What “run Odoo on port 80” actually means
Odoo does not need to bind directly to the privileged public port. In a production deployment, Nginx listens on port 80 and normally uses that listener only to redirect visitors to HTTPS. A second Nginx server block listens on the HTTPS port, handles the certificate, and proxies requests to Odoo’s private HTTP service, commonly 127.0.0.1:8069.
As an Amazon Associate I earn from qualifying purchases.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11This arrangement gives you one public endpoint while keeping Odoo’s application port and PostgreSQL inaccessible from the internet. It also lets Nginx handle TLS, request routing, connection upgrades, and access logging independently of the Odoo process.
Traffic flow
- A browser requests
http://odoo.example.comon port 80. - Nginx returns a redirect to the HTTPS URL; authenticated Odoo traffic is not served over cleartext HTTP.
- The browser connects to the TLS-enabled Nginx server.
- Nginx forwards normal requests to Odoo’s HTTP upstream.
- Nginx sends long-polling or websocket requests to the realtime worker and preserves the upgrade and forwarding headers required by that worker.
Prerequisites before configuring Nginx
- A supported Linux host with enough CPU, memory and disk I/O for Odoo and PostgreSQL.
- Odoo and PostgreSQL installed and able to communicate locally or over a protected internal network.
- A DNS name pointing to the host’s public address, such as
odoo.example.com. - An HTTPS certificate and private key for that hostname.
- Administrative access to create the Odoo service, edit Nginx configuration and reload both services.
- A backup destination outside the server for PostgreSQL databases and the Odoo filestore.
Install Odoo using a method supported by the Odoo release you intend to run. Keep the application listener bound to localhost or an internal interface; do not open port 8069 to the entire internet merely because Nginx needs to reach it.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
Plan workers and memory for production
Odoo’s multiprocessing server is intended for production on Linux. Set a nonzero workers value rather than relying on the single-process development mode. Odoo documents the following planning heuristics:
| Planning item | Documented figure | How to use it |
|---|---|---|
| Worker-count starting point | (number of CPUs × 2) + 1 |
Use this as an initial estimate, then observe CPU, memory, queueing and response times. |
| Concurrent users per worker | Approximately 6 | This is an estimate, not a capacity guarantee; modules, queries, cron jobs and usage patterns change the result. |
| Heavy worker memory | Approximately 1 GB | Odoo’s example assumes a heavy workload and stated planning conditions. |
| Light worker memory | Approximately 150 MB | Odoo’s example assumes a lighter workload and stated planning conditions. |
These figures come from Odoo’s current Odoo 18 deployment guidance and are planning aids rather than benchmarks. Leave headroom for PostgreSQL, the operating system, scheduled jobs, file processing and traffic spikes. Increase or reduce workers only after checking actual resource use; adding workers to a memory-constrained machine can make it less stable.
Free tools Windows power users keep installed
One-click scans. No signup required.
Settings that belong in the production configuration
Set the worker count and the CPU, memory, request and timeout limits appropriate for the host. Exact limits depend on your workload and Odoo release, so record the values you choose and review them after observing production behavior.
Enable proxy mode in Odoo with proxy_mode = True in the configuration file or with the --proxy-mode startup option. Odoo states that proxy mode should be enabled only when every public request reaches Odoo through a trusted reverse proxy. Do not enable it while users can bypass Nginx and connect directly to the Odoo port.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
Create the Nginx reverse-proxy configuration
The following example shows the required shape. Replace the hostname and certificate paths with the names used on your server. The Odoo upstream remains private; Nginx is the only service exposed on the public web ports.
upstream odoo_http {
server 127.0.0.1:8069;
}
upstream odoo_realtime {
server 127.0.0.1:8072;
}
server {
listen 80;
server_name odoo.example.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name odoo.example.com;
ssl_certificate /etc/ssl/odoo/fullchain.pem;
ssl_certificate_key /etc/ssl/odoo/privkey.pem;
location / {
proxy_pass http://odoo_http;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
# Choose read, connect and send timeouts long enough for your Odoo workload.
# Keep the values consistent with your upload and long-running request needs.
}
# Use this location only for releases that expose long-polling here.
location /longpolling {
proxy_pass http://odoo_realtime;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
}
}
The HTTP server block deliberately performs a redirect instead of proxying Odoo over port 80. The TLS block forwards X-Forwarded-Host, X-Forwarded-For, X-Forwarded-Proto and X-Real-IP, which Odoo needs to reconstruct the original request correctly when proxy mode is enabled.
Recommended Free Tools
For production, add explicit proxy_connect_timeout, proxy_read_timeout and proxy_send_timeout values appropriate to your workload. Short defaults can terminate report generation, imports or long-poll requests before Odoo completes them; excessively long values can keep failed connections around and consume worker capacity.
Route realtime traffic for your Odoo release
Normal page loads and API calls can use the HTTP worker, but Discuss, Live Chat and notification features use a separate realtime mechanism. The correct Nginx location and backend depend on the installed Odoo release.
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
Releases using long-polling
Older official examples route requests whose path begins with /longpolling to a LiveChat or long-polling worker, commonly at 127.0.0.1:8072. Put that location before the catch-all / location so it is handled by the realtime upstream rather than the ordinary HTTP worker.
Releases using websocket paths
Odoo 17 documentation describes routing websocket paths to the gevent worker or port. In that configuration, add a location for the websocket path documented for your exact Odoo build and proxy it to the gevent listener. A websocket proxy must preserve the connection upgrade:
location /websocket {
proxy_pass http://odoo_realtime;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
Use the path and gevent port specified for your release rather than assuming that every Odoo version uses /longpolling or the same listener. If the path is wrong, ordinary pages may work while chat messages, presence indicators and notifications remain delayed or completely silent.
Apply the configuration safely
- Save the Odoo configuration with proxy mode enabled, the chosen worker count and resource limits.
- Confirm that Odoo is listening only on its intended localhost or internal address and that its service starts successfully.
- Place the Nginx server block in the location used by your Linux distribution, then enable it according to that distribution’s Nginx convention.
- Check the configuration with
nginx -t. Do not reload Nginx if the test reports an error. - Reload Nginx after a successful test. A reload allows existing connections to finish while workers adopt the new configuration.
- Restart or reload Odoo when its configuration changes, following the service manager and packaging method used for your installation.
- Inspect both Nginx and Odoo logs immediately after the change. A successful Nginx reload does not prove that Odoo can accept requests or that the realtime worker is reachable.
Firewall and network isolation
Expose only the ports required for public access. Port 80 is useful for the HTTP-to-HTTPS redirect and certificate workflows; the user-facing application should be on HTTPS. Keep PostgreSQL and Odoo’s internal HTTP, long-polling or gevent ports restricted to localhost or the private network. If another internal host must reach Odoo, allow only that host or security group instead of opening the port globally.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
When Nginx and Odoo run on the same machine, binding the upstreams to 127.0.0.1 prevents remote clients from bypassing Nginx. When they run on separate machines, bind Odoo to a private interface and restrict the firewall to the Nginx host’s address.
Test the deployment in the order users experience it
- Redirect: Request the HTTP URL and verify that it redirects to the equivalent HTTPS URL without changing the hostname or path.
- Certificate: Open the HTTPS hostname and confirm that the certificate matches the hostname and is accepted by the client.
- Login: Sign in and verify that redirects return to HTTPS rather than switching back to HTTP.
- Assets: Load a hard refresh of the login and application pages. Missing CSS or JavaScript often indicates a proxy path, host or scheme-header problem.
- Application actions: Open records, create a small test entry and run a representative report or import to reveal timeout and worker-limit issues.
- Realtime features: Test Discuss, Live Chat, presence and notifications in two browser sessions. Check the browser’s network panel for the long-polling or websocket request and inspect the corresponding Nginx and Odoo logs.
- Isolation: From an external network, confirm that direct connections to PostgreSQL and Odoo’s internal ports are refused.
Troubleshoot common failures
Nginx returns 502 Bad Gateway
Check that the Odoo service is running, that it is listening on the address and port named in the upstream, and that the host firewall allows the local connection. If Odoo listens on an internal address rather than localhost, update the upstream to that address and restrict access to Nginx.
Every request redirects repeatedly
A redirect loop usually means Odoo does not see the original request as HTTPS. Confirm that proxy mode is enabled only for proxied traffic and that Nginx sends X-Forwarded-Proto with the client scheme. Also check that the HTTPS server block, not the port-80 block, is handling the redirected request.
The page loads but shows the wrong hostname or insecure links
Verify Host, X-Forwarded-Host and X-Forwarded-Proto. Ensure the public hostname resolves to Nginx and that no second proxy is replacing those headers unexpectedly.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Chat and notifications are delayed or absent
Confirm the release-specific realtime path, the gevent or long-polling listener, and the matching Nginx location. A catch-all / proxy can accidentally send realtime requests to the ordinary worker. For websocket mode, verify that Upgrade and Connection are forwarded. Review logs for connection resets, an unreachable realtime port or an incorrect path.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minuteReports or uploads fail after a fixed interval
Increase the Nginx read, connect and send timeouts to values suitable for the operation, then check Odoo’s request and memory limits. A timeout that is too short can terminate a healthy long-running request; a limit that is too high can allow one request to consume a worker for an unacceptable period.
Users can bypass HTTPS or the proxy
Remove public firewall access to Odoo’s internal port, keep proxy mode behind the trusted proxy boundary, and retain the port-80 redirect. Do not treat a working Nginx page as proof that the backend is protected; test direct access from an outside network.
Choose hosting around the workload, not just the monthly price
When selecting a VPS or dedicated Linux host, compare the resources and operational controls that affect Odoo:
- CPU and RAM headroom: Size for PostgreSQL, Odoo workers, cron jobs and peak activity, not only the average number of logged-in users.
- Disk I/O: Database queries, attachments, imports and report generation can be sensitive to storage latency and sustained throughput.
- Backups and restores: Confirm that database and filestore backups are both covered and that you can perform a restoration test to another location.
- Region and latency: Place the host near users and integrated services when interactive response time matters.
- Firewall controls: You need rules that can keep PostgreSQL and Odoo’s internal listeners private while allowing public HTTPS.
- TLS operations: Ensure you can issue, renew and replace certificates without interrupting service.
- Monitoring: Collect CPU, memory, disk, worker, database and Nginx metrics so capacity decisions are based on observed behavior.
- Configuration freedom: The host must permit the PostgreSQL version, worker model, scheduled jobs and networking required by your Odoo release.
Backups, upgrades and routine operations
Back up the PostgreSQL database and Odoo filestore off the application host. A database-only backup does not restore uploaded documents, and a filestore-only copy does not restore transactional data. Protect backup credentials, retain multiple recovery points and periodically perform a restore test.
Before upgrading Odoo or changing worker and proxy settings, record the current configuration and test the change on a staging hostname when possible. After an upgrade, re-check the realtime endpoint because the expected long-polling or websocket path can differ between releases. Validate Nginx syntax before every reload and keep an eye on Odoo and Nginx logs during the first user sessions after a change.
Quick Recap
Essential configuration checklist
- Odoo listens on a private address; PostgreSQL is not internet-facing.
- Production uses a nonzero worker count and resource limits appropriate to the host.
proxy_mode = Trueis enabled only when all public traffic passes through Nginx.- Nginx redirects port 80 to HTTPS instead of serving authenticated sessions over HTTP.
- The TLS proxy sends
Host,X-Forwarded-Host,X-Forwarded-For,X-Forwarded-ProtoandX-Real-IP. - The release-specific long-polling or websocket location targets the correct realtime worker and preserves websocket upgrades when required.
- Nginx syntax is tested before reload, and both proxy and Odoo logs are monitored.
- Database and filestore backups are stored off-host and have been restored successfully at least once.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




