README.md 376 B

Reverse proxy example

	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_buffering off;
		proxy_request_buffering	off;

		proxy_pass http://127.0.0.1:8280/tt-irc/;
		break;
	}