From Comodo Email after verifying domain ownership, got this hints: 1Root CA Certificate - AAACertificateServices.crt 2Intermediate CA Certificate - USERTrustRSAAAACA.crt 3Intermediate CA Certificate - SectigoRSADomainValidationSecureServerCA.crt 4Your PositiveSSL Multi-Domain Certificate - 378394251.crt Generate the …
Read More1... 2... 3LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %{cf-ipcountry}i" cloudflare_custom 4CustomLog /var/log/httpd/site.example.com-cloudflare_custom.log cloudflare_custom 5... 6... See details in …
Read MoreCheck if php-fpm service is up Check if being listened to by nginx (for CentOS, look for "listen" in /etc/php-fpm.d/www.conf) Adjust nginx vhost (fastcgi_pass) when necessary (example below) 1fastcgi_pass 127.0.0.1:9000;
Read MoreUpdate the following line of code in config file’s server Block. 1add_header Strict-Transport-Security “max-age=63072000; includeSubdomains; “; Restart the NGINX server. More details in https://medium.com/@sslsecurity/how-to-enable-hsts-on-apache-nginx-and-lighttpd-8b0c64155911
Read Morehttps://www.digitalocean.com/community/tutorials/understanding-nginx-http-proxying-load-balancing-buffering-and-caching
Read MoreSolution: In server block, add "client_max_body_size" directive like the following 1server { 2listen 8080; 3client_max_body_size 100M; 4... 5... 6} See details in https://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/
Read More1sudo yum install epel-release 2sudo yum install nginx 3sudo systemctl start nginx 4... 5... 6edit /etc/nginx/nginx.conf 78... 9... 10#add this line in bottom of 'server' block: 11Redirect 301 https://your_domain_here/$request_uri; 1213sudo systemctl restart nginx 14sudo systemctl enable nginx
Read More1server { 23listen 80 default_server; 4server_name _; 56root /var/www/default; 78} details in https://serverfault.com/questions/527156/setting-nginx-to-catch-all-unhandled-vhosts
Read More