Link Search Menu Expand Document

Information in this page is outdated. Last update was made on 08 December 2016.

Create nginx proxy pass

Table of contents

  1. The code
  2. About the code

An nginx proxy pass server is where you pass a request from nginx to proxied servers, whether this be another nginx or other web servers, over different protocols.

I won’t be giving a case scenario by which this would be useful.

The code

server {
  listen 80;

  location / {

About the code

In the code above, you have a server where you have rutorrent in a directory in port 8080. The domain name is and the protocol is not secure.

That long url,, is too long to memorize and it has a port number in it.

So in the code, instead of a long url with port number and a directory, the same can be accessed via with no port number and no extra directory path.

That’s it.

Btw, I have been using nginx proxy pass since last year, but I just did not document it.

Back to top


This site uses a fork version of Just the Docs, a documentation theme for Jekyll, by Patrick Marsceill.
Copyright © 2008-2021 Timothy Escopete.
All rights reserved as provided by law.