Skip to content

Commit

Permalink
Added simple example to nginx for further services (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkishino committed Mar 15, 2021
1 parent 8080385 commit cd5ce7b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions proxy/nginx.conf
Expand Up @@ -21,6 +21,18 @@ http {
proxy_http_version 1.1;
proxy_set_header Connection "";
}
# Add extra locations for other services
# location /<service-name> {
# proxy_pass http://<service-host>:<port>;
# proxy_set_header Host $http_host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme;

# # HTTP 1.1 support
# proxy_http_version 1.1;
# proxy_set_header Connection "";
# }
}

}

0 comments on commit cd5ce7b

Please sign in to comment.