server { 
    listen 80 default; 
    server_name _; 
    underscores_in_headers on; 
    proxy_set_header Host  $host; 
    proxy_set_header QT_TOKEN  $http_QT_TOKEN; 
		 
    set $ip ; 
    location / { 
					if 
					proxy_pass http://; 
    } 
} 
 
server { 
    listen 443 ssl; 
		server_name _; 
    proxy_set_header QT_TOKEN  $http_QT_TOKEN; 
    ssl_certificate      /home/q-gp/ssl/certificate.crt; 
    ssl_certificate_key  /home/q-gp/ssl/private.key; 
    ssl_session_cache    shared:SSL:1m; 
    ssl_session_timeout  5m; 
    ssl_ciphers  HIGH:!aNULL:!MD5; 
    ssl_prefer_server_ciphers  on; 
    proxy_set_header Host  $host; 
 
		set $ip ; 
    location / { 
				if 
        proxy_pass http://; 
    } 
} 
server { 
    listen 80 default; 
    server_name _; 
    underscores_in_headers on; 
    proxy_set_header Host  $host; 
    proxy_set_header QT_TOKEN  $http_QT_TOKEN; 
		 
    set $ip ; 
    location / { 
					if 
					proxy_pass http://; 
    } 
} 
 
server { 
    listen 443 ssl; 
		server_name _; 
    proxy_set_header QT_TOKEN  $http_QT_TOKEN; 
    ssl_certificate      /home/q-gp/ssl/certificate.crt; 
    ssl_certificate_key  /home/q-gp/ssl/private.key; 
    ssl_session_cache    shared:SSL:1m; 
    ssl_session_timeout  5m; 
    ssl_ciphers  HIGH:!aNULL:!MD5; 
    ssl_prefer_server_ciphers  on; 
    proxy_set_header Host  $host; 
 
		set $ip ; 
    location / { 
				if 
        proxy_pass http://; 
    } 
} 
