This documentation is for Octopus Deploy Version 2018.12. View other versions

NGINX

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 feature is available on deploy a package steps, however, there is also a Deploy to NGINX step which let you configure NGINX during deployment. See NGINX on Linux deployment for more details.

Reverse Proxy

When configuring a location as a reverse proxy, we will add the following headers and directives by default.

Headers

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

Directives

  • proxy_http_version 1.1,
  • proxy_cache_bypass $http_upgrade

Limitations

Supported Operating Systems

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