But nginx is very difficult to set up and can I take a look at the settings?

Hi there

I am wrong because English is not the main language.
I was recently running a web site with RedHat + Apache + WordPress.
But to try another, I built a new website with Ubuntu + nginx + wordpress.
But nginx is very difficult to set up and can I take a look at the settings?
I’m using the Cloud Flare Pro Plan.
The rocket launcher does not know what the reason is, but Chrome Developer Tools has encountered an error and is not currently using it.
I do not know how to modify nginx’s configuration file
I uploaded my nginx configuration file.

server {
listen 80 default_server;
server_name localhost;
root /usr/share/nginx/html/wordpress;
client_max_body_size 100M;
server_tokens off;

location / {
    index  index.php index.html;
try_files $uri $uri/ /index.php?$args;

location ~ [^/]\.php(/|$) {
    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    if (!-f $document_root$fastcgi_script_name) {
        return 404;

    fastcgi_pass unix:/run/php/php7.1-fpm.sock;
    fastcgi_index index.php;
    include fastcgi_params;


I want to make a website that is 0.1 seconds faster for users. How can I make a faster, more secure site?

Is it your problem? Can you please share a screenshot?

Thanks for the reply

I have tried to contact the Cloudflare support center about an error about the rocket reader but I received an answer saying “There is an error because it is still in beta”
I attached a screenshot to what you wanted.

I would like to ask my nginx setup a bit more than an error for the rocket reader
How do nginx and Cloudflare work ideally?
The code for my question is inserted above

No worry! It is harmless. It is a known issue happens on all website which uses Cloudflare Rocket Loader. Your NGINX configuration might be completely okay.


1 Like