From a59581e935f17becc2d66e12a763b8c5f6b4f111 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Fri, 28 Dec 2018 12:13:21 -0500 Subject: fix whitespace --- README.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index d8c1e18..b550c4a 100644 --- a/README.md +++ b/README.md @@ -9,28 +9,28 @@ Nginx config try_files $uri @application; location /static { - root /home/thibaut/code/famille-flask/; + root /home/thibaut/code/famille-flask/; } - location @application { - include uwsgi_params; - uwsgi_pass unix:/run/uwsgi/famille.sock; - uwsgi_param HTTP_X_REMOTE_USER $auth_user; - } - - auth_request /validate; - auth_request_set $auth_user $upstream_http_x_remote_user; - - location = /validate { - internal; - proxy_pass_request_body off; - proxy_set_header Content-Length ""; - proxy_set_header Host $host; - proxy_set_header X-Original-URI $request_uri; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Real-IP $remote_addr; - proxy_pass http://127.0.0.1:8080/; - } + location @application { + include uwsgi_params; + uwsgi_pass unix:/run/uwsgi/famille.sock; + uwsgi_param HTTP_X_REMOTE_USER $auth_user; + } + + auth_request /validate; + auth_request_set $auth_user $upstream_http_x_remote_user; + + location = /validate { + internal; + proxy_pass_request_body off; + proxy_set_header Content-Length ""; + proxy_set_header Host $host; + proxy_set_header X-Original-URI $request_uri; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Real-IP $remote_addr; + proxy_pass http://127.0.0.1:8080/; + } } -- cgit v1.2.3-70-g09d2