server { listen 8000; server_name ; return 301 https://$host$request_uri; } server { listen 4430 ssl http2; server_name ; ssl_certificate ; ssl_certificate_key ; include /conf.d/ssl_params.conf; include /etc/nginx/conf/headers_params; client_max_body_size M; location { proxy_pass http://:; include /etc/nginx/conf/proxy_params; } }