Browse Source

upd README

Andrew Dolgov 5 days ago
parent
commit
987f8ad9c5
1 changed files with 10 additions and 8 deletions
  1. 10 8
      README.md

+ 10 - 8
README.md

@@ -1,17 +1,19 @@
+### Reverse proxy example
+
 ```nginx
 	location ^~ /tt-irc/ {
 		client_max_body_size 50M;
 	
 		proxy_set_header Host $host;
-      proxy_set_header X-Real-IP $remote_addr;
-      proxy_set_header X-Forwarded-For $remote_addr;
-      proxy_set_header X-Forwarded-Proto $scheme;
+		proxy_set_header X-Real-IP $remote_addr;
+		proxy_set_header X-Forwarded-For $remote_addr;
+		proxy_set_header X-Forwarded-Proto $scheme;
 
-		proxy_buffering                 off;
-      proxy_request_buffering         off;
+		proxy_buffering off;
+		proxy_request_buffering	off;
 
-      proxy_pass http://127.0.0.1:8280/tt-irc/;
-      break;
-   }
+		proxy_pass http://127.0.0.1:8280/tt-irc/;
+		break;
+	}
 ```