diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2018-12-28 12:13:21 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2018-12-28 12:13:21 -0500 |
| commit | a59581e935f17becc2d66e12a763b8c5f6b4f111 (patch) | |
| tree | 91b2e1c50b48f1127bb0a4ecfec15a16fc22642f | |
| parent | 5d1bd5378219693af84128a994e2adf3780e12b8 (diff) | |
| download | famille-flask-a59581e935f17becc2d66e12a763b8c5f6b4f111.tar.gz | |
fix whitespace
| -rw-r--r-- | README.md | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -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; - } + 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; + 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 = /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/; + } } |
