

server {
	listen   443 ssl http2; ## listen for ipv4; this line is default and implied
	include /etc/nginx/ssl;
	root /var/www/eba;

	server_name mail2.especificosba.com.ar;
	error_log /var/log/nginx/error.eba.log ;

	location / {
		proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;

        proxy_pass http://localhost:33411;
        proxy_read_timeout  90;
        proxy_redirect http://localhost:33411 https://mail2.especificosba.com.ar;
	}
}
