Commit c06ed296 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix nginx upstream host

parent 1f6d6f1d
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -3,11 +3,6 @@ map $http_x_forwarded_proto $forwarded_https {
	https on;
}

upstream fastcgi {
	server localhost:9000 fail_timeout=120;
	server upstream:9000 backup;
}

server {
	listen 80;
	server_name _;
@@ -32,7 +27,7 @@ server {
		fastcgi_param SERVER_ADDR $http_x_forwarded_host;
		fastcgi_param SERVER_PORT $http_x_forwarded_port;
		add_header X-Clacks-Overhead "GNU Terry Pratchett";
		fastcgi_pass fastcgi;
		fastcgi_pass upstream:9000;
	}

	# Don't return 200 for a missing favicon