Add reverse-proxy example in test-nginx.conf (#1023)

This commit is contained in:
Clément Oudot 2016-06-06 08:58:35 +00:00
parent c658710e64
commit 901de510b4

View File

@ -23,8 +23,17 @@ server {
# Client requests
location / {
# Local application
index index.pl;
try_files $uri $uri/ =404;
# Reverse proxy
#proxy_pass http://remote.server/;
#include /etc/nginx/proxy_params;
##################################
# CALLING AUTHENTICATION #
##################################
auth_request /lmauth;
auth_request_set $lmremote_user $upstream_http_lm_remote_user;
auth_request_set $lmlocation $upstream_http_location;