diff --git a/nginx.conf b/nginx.conf index 1a877573..ace03a41 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,32 +1,50 @@ -#worker_processes auto; -#user nginx; - -#error_log /var/log/nginx/error.log warn; -#pid /var/run/nginx.pid; - -#events { -# worker_connections 1024; -#} +error_log /var/log/nginx/error.log warn; server { - listen $PORT; + listen 8080; server_name localhost; - - root /usr/share/nginx/html; - index index.html index.htm; + + server_tokens off; # Hide Nginx version location / { + root /usr/share/nginx/html; + index index.html index.htm; try_files $uri $uri/ /index.html; - - #auth_basic "Restricted Access"; - #auth_basic_user_file /etc/nginx/.htpasswd; } + # copies data between one FD and other from within the kernel + # faster than read() + write() + sendfile on; + + # send headers in one piece, it is better than sending them one by one + tcp_nopush on; + + # don't buffer data sent, good for small data bursts in real time + tcp_nodelay on; + + # reduce the data that needs to be sent over network -- for testing environment gzip on; - gzip_vary on; + # gzip_static on; gzip_min_length 10240; + gzip_comp_level 1; + gzip_vary on; + gzip_disable msie6; gzip_proxied expired no-cache no-store private auth; - gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml; - gzip_disable "MSIE [1-6]\."; + gzip_types + # text/html is always compressed by HttpGzipModule + text/css + text/javascript + text/xml + text/plain + text/x-component + application/javascript + application/x-javascript + application/json + application/xml + application/rss+xml + application/atom+xml + font/truetype + font/opentype + application/vnd.ms-fontobject + image/svg+xml; } - diff --git a/package.json b/package.json index 9ba71899..af23d510 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "DISABLE_ESLINT_PLUGIN='true' react-scripts build", + "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "storybook": "start-storybook -p 9009 -s public", diff --git a/src/assets/LandingPageGraphics/background_video_molecules_221511488.mp4 b/src/assets/LandingPageGraphics/background_video_molecules_221511488.mp4 deleted file mode 100644 index c0e7f3d8..00000000 Binary files a/src/assets/LandingPageGraphics/background_video_molecules_221511488.mp4 and /dev/null differ diff --git a/src/assets/LandingPageGraphics/tutorial_video_preview_image.jpg b/src/assets/LandingPageGraphics/tutorial_video_preview_image.jpg deleted file mode 100644 index 019e3bd5..00000000 Binary files a/src/assets/LandingPageGraphics/tutorial_video_preview_image.jpg and /dev/null differ