Simplify proxy pass

This commit is contained in:
root
2018-03-29 16:23:48 +02:00
parent d592a40806
commit bf70c591b4
10 changed files with 15 additions and 34 deletions

View File

@@ -25,8 +25,7 @@ server {
index index.php;
location / {
proxy_pass http://192.168.95.22;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
include snippets/proxy_header.conf;
proxy_buffering off;
proxy_request_buffering off;
client_body_buffer_size 32K;