Octopus Deploy Documentation

NGINX Web Server

Last updated

The NGINX feature is one of the configuration features you can enable as you define the steps in your deployment process.

NGINX Web Server screenshot

The NGINX web server feature is available on deploy a package steps, however, there is also a Deploy to NGINX step which you can use to configure NGINX during deployment. See NGINX on Linux deployment for more details.

Reverse Proxy

When configuring a location as a reverse proxy, you need to add the following headers and directives by default:


  • Upgrade $http_upgrade,
  • Connection keep-alive,
  • Host $host,
  • X-Forwarded-For $proxy_add_x_forwarded_for,
  • X-Forwarded-Proto $scheme


  • proxy_http_version 1.1,
  • proxy_cache_bypass $http_upgrade


Supported Operating Systems

Currently the NGINX web server feature only supports Linux based operating systems. See NGINX supported distributions for more details.

Welcome! We use cookies and data about how you use our website allow us to improve the website and your experience, and resolve technical errors. Our website uses cookies and shares some of your data with third party analytics companies for these purposes.

If you decline, we will respect your privacy. A single cookie will be used in your browser to remember your preference.