Watch the video carefully and use WordPress Creator Professional for Ubuntu 20.04 to quickly create a WordPress website with a «lifetime» free SSL certificate.


DB PASSWORD: 123456

  
server {
        listen 80;
        listen [::]:80;
	server_name wordpress www.wordpress;
	root /srv/wordpress/public_html/;
	index index.html index.htm index.php;
	access_log /srv/wordpress/logs/access.log;
	error_log /srv/wordpress/logs/error.log;

	# Don_t allow pages to be rendered in an iframe on external domains.
	add_header X-Frame-Options "SAMEORIGIN";

	# MIME sniffing prevention
	add_header X-Content-Type-Options "nosniff";

	# Enable cross-site scripting filter in supported browsers.
	add_header X-Xss-Protection "1; mode=block";

	# Prevent access to hidden files
	location ~* /\.(?!well-known\/) {
		deny all;
	}

	# Prevent access to certain file extensions
	location ~\.(ini|log|conf)$ {
		deny all;
	}

      # Enable WordPress Permananent Links
	location / {
		try_files $uri $uri/ /index.php?$args;
	}

	location ~ \.php$ {
      include /etc/nginx/fastcgi_params;
      fastcgi_pass 127.0.0.1:9000;
      fastcgi_index index.php;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
	}
}
  

How to enable gzip on nginx server