
#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;
	
	server {
        listen       90;
        server_name  localhost;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {
		 
			rewrite ^/$ https://endpoint6.collection.us2.sumologic.com/receiver/v1/http/ZaVnC4dhaV2du1l-SMVF3BIuID2t9oI7cIQuvb3zoB3i0preXXHgM3YuWmCRZX_8luEdDe-PGy3J_NjcKbRt0rPlZcPG9XVBxg9DVbpmIhbDdpYsOaHCrw== redirect;

            # proxy_pass                     https://backend;
			# proxy_ssl_certificate          D:\\AA\\work\\A2019\\Telemetrix\\nginx-1.18.0\\certificate_new\\public.pem;
            # proxy_ssl_certificate_key      D:\\AA\\work\\A2019\\Telemetrix\\nginx-1.18.0\\certificate_new\\public.pem;
            # proxy_ssl_protocols            TLSv1 TLSv1.1 TLSv1.2;
            # proxy_ssl_ciphers              HIGH:!aNULL:!MD5;
            # proxy_ssl_trusted_certificate  D:\\AA\\work\\A2019\\Telemetrix\\nginx-1.18.0\\certificate_new\\trusted_certificate.cer;
			# proxy_ssl_trusted_certificate  D:\\AA\\work\\A2019\\Telemetrix\\nginx-1.18.0\\certificate_new\\public.pem;
			# proxy_ssl_trusted_certificate  D:\\AA\\work\\A2019\\Telemetrix\\nginx-1.18.0\\certificate_new\\public.pem;

            # proxy_ssl_verify        on;
            # proxy_ssl_verify_depth  0;
            # proxy_ssl_session_reuse on;
        }
    }
}
