Welcome to mirror list, hosted at ThFree Co, Russian Federation.

nginx-default.conf « devbox - github.com/candy-chat/candy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eade3762f45c243a6ee5b4faa1dc46f4a5f2cde9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server {
	root {{ROOT_DIR}};

	charset utf-8;

	server_name localhost;
	# Redirect to devbox/index.html
	# = means exact location
	location = / {
	    try_files /devbox/index.html =404;
	}

	location /http-bind/ {
		proxy_pass  http://localhost:5280/http-bind/;
		proxy_buffering off;
		tcp_nodelay on;
	}
}