Skip to content

Commit 4ab86e4

Browse files
committed
Fixed tabs and spaces.
1 parent 934d09c commit 4ab86e4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

doc/NGINX.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Add the following to your Nginx server section:
99
proxy_http_version 1.1;
1010
proxy_set_header Upgrade $http_upgrade;
1111
proxy_set_header Connection $connection_upgrade;
12-
proxy_set_header X-Forwarded-Proto $scheme;
12+
proxy_set_header X-Forwarded-Proto $scheme;
1313
proxy_set_header Host $http_host;
14-
proxy_set_header X-Real-IP $remote_addr;
15-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
14+
proxy_set_header X-Real-IP $remote_addr;
15+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
1616
}
1717

1818
This is using a map to provide the Upgrade and Connection
@@ -27,17 +27,17 @@ the http section of your server:
2727
Also make sure that you have the general proxy configuration
2828
like this in place:
2929

30-
proxy_buffering on;
31-
proxy_ignore_client_abort off;
32-
proxy_redirect off;
33-
proxy_connect_timeout 90;
34-
proxy_send_timeout 90;
35-
proxy_read_timeout 90;
36-
proxy_buffer_size 4k;
37-
proxy_buffers 4 32k;
38-
proxy_busy_buffers_size 64k;
39-
proxy_temp_file_write_size 64k;
40-
proxy_next_upstream error timeout invalid_header http_502 http_503 http_504;
30+
proxy_buffering on;
31+
proxy_ignore_client_abort off;
32+
proxy_redirect off;
33+
proxy_connect_timeout 90;
34+
proxy_send_timeout 90;
35+
proxy_read_timeout 90;
36+
proxy_buffer_size 4k;
37+
proxy_buffers 4 32k;
38+
proxy_busy_buffers_size 64k;
39+
proxy_temp_file_write_size 64k;
40+
proxy_next_upstream error timeout invalid_header http_502 http_503 http_504;
4141

4242
And thats it.
4343

0 commit comments

Comments
 (0)