Without rules of SEO will not work.So without the rules, will SEO work under nginx?
|
Posted 03 May 2015 - 09:23 AM #21
Without rules of SEO will not work.So without the rules, will SEO work under nginx?
Posted 03 May 2015 - 09:46 AM #22
Without rules of SEO will not work.
Posted 03 May 2015 - 10:42 AM #23
server { listen 80; server_name _; root /var/www/empty; location / { return 301 $scheme://example.org$request_uri; } } server { listen 80; server_name example.org www.example.org; charset utf-8; access_log /var/log/nginx/access.log combined; error_log /var/log/nginx/error.log; root /var/www/html/example.org; gzip on; gzip_disable "msie6"; gzip_comp_level 6; gzip_min_length 1100; gzip_buffers 16 8k; gzip_proxied any; gzip_types text/plain application/xml application/javascript text/css text/js text/xml application/x-javascript text/javascript application/json application/xml+rss; client_max_body_size 100m; client_body_buffer_size 128k; client_header_timeout 3m; client_body_timeout 3m; send_timeout 3m; client_header_buffer_size 1k; large_client_header_buffers 4 16k; location / { root /var/www/html/example.org; index index.php index.html index.htm; rewrite ^/api/(.*)$ /api.php?_d=$1&ajax_custom=1&$args last; try_files $uri $uri/ @fallback; } location @fallback { rewrite ^(.*)$ /index.php?$args last; } location ~* \.(jpeg|ico|jpg|gif|png|css|js|pdf|txt|tar|gz|wof|csv|zip|xml|yml) { access_log off; try_files $uri @statics; expires 14d; add_header Access-Control-Allow-Origin *; add_header Cache-Control public; root /var/www/html/example.org; } location @statics { rewrite ^/(\w+)/(.*)$ /$2 break; access_log off; rewrite_log off; expires 14d; add_header Cache-Control public; add_header Access-Control-Allow-Origin *; root /var/www/html/example.org; } location ~ \.php$ { root /var/www/html/example.org; proxy_read_timeout 61; fastcgi_read_timeout 61; try_files $uri $uri/ =404; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location /app/ { deny all; location ^~ /app/addons/rus_exim_1c/exim_1c.php { allow all; } } location /app/payments/ { allow all; } location /design/ { allow all; location ~* \.([tT][pP][lL]|[pP][hH][pP].?)$ { deny all; } } location /images/ { allow all; location ~* \.([pP][hH][pP].?)$ { deny all; } } location /var/ { deny all; location ~* \.(js|css|png|jpg|gz|xml|yml)$ { allow all; expires 1M; add_header Cache-Control public; add_header Access-Control-Allow-Origin *; } } location /var/database/ { deny all; } location /var/skins_repository/ { allow all; location ~* \.([tT][pP][lL]|[pP][hH][pP].?)$ { deny all; } } location ~* api/ { rewrite ^/api/(.*)$ /api.php?_d=$1&ajax_custom=1&$args last; } location ~ /\.ht { deny all; } }
Posted 03 May 2015 - 10:44 AM #24
Posted 03 May 2015 - 01:10 PM #25
I find your statements a little strange because one Google search will give you many independent benchmarks for litespeed. Here are a few from the first google page:I mean on the Internet there is no independent research of performance, with the exception of tests LitespeedTech where LS wins an incorrectly configured NGINX and Apache. In my opinon, presented on the official website of the benchmarks are ridiculous and not objective. I urge people not to take their word.
Posted 03 May 2015 - 01:19 PM #26
Posted 03 May 2015 - 01:53 PM #27
Posted 03 May 2015 - 04:18 PM #28
Posted 03 May 2015 - 05:24 PM #29
Basically what it boils down to is that NGINX and LSWS are pretty on par with each other in terms of performance. LSWS has the benefit that its much easier to configure and has a lot of extra functions. For a very technical webmaster NGINX can be more appealing.
Based on these independent benchmarks we became interested in litespeed years ago. To see if it would as well for us, we did our own benchmarks to see the difference between Apache and LSWS. The difference was amazing. It was one of the best decisions ever to move to LiteSpeed. It saves us a lot of money in hosting costs and our websites are much faster do to litespeed cache. Except CS-Cart that is.
Posted 03 May 2015 - 05:55 PM #30
Posted 03 May 2015 - 06:16 PM #31
Well sorry but if that's what Nielsen say then they don't know what they are talking about. Sheer logic says that if you go shopping you at least want to look at the goods and so to suggest people wouldn't wait one second is just a daft comment. There own ISP connection could amount for far more then that. You can only affect what you can control hence my 10% comment. No web site loads at the same pace everytime all we can do is do our best.
Naturally a lot depends on the traffic your site attracts but very quickly then you move away from single server configuration and thats what I thought we were discussing here.
Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2
Posted 03 May 2015 - 06:46 PM #32
Isn't speed all about the end result? These results are using nginx, and eaccelerator. Cs- 2.24
Posted 05 May 2015 - 06:45 AM #33
Posted 05 May 2015 - 12:04 PM #34
What version of CS-Cart are you using? How many products and categories on your store? Could you provide specifications of the server (CPU, RAM, Storage)?So, I did all that, with nginx. Still only got 3 seconds on the front page. I might have to turn file caching on in nginx.
![]()
Posted 05 May 2015 - 06:39 PM #35
So, I did all that, with nginx. Still only got 3 seconds on the front page. I might have to turn file caching on in nginx.
![]()
Posted 05 May 2015 - 09:17 PM #36
What version of CS-Cart are you using? How many products and categories on your store? Could you provide specifications of the server (CPU, RAM, Storage)?
Posted 05 May 2015 - 09:27 PM #37
I get that result without nginx or doing anything special. A:95 B:89
Posted 06 May 2015 - 12:27 PM #38
location /app/ { deny all; location ^~ /app/addons/rus_exim_1c/exim_1c.php { allow all; } }
location ^~ /app/ {
Posted 07 May 2015 - 05:55 AM #39
Posted 07 May 2015 - 06:54 AM #40
Hey goncharov
Slight Problem with the config file, but it's got me stumped
server { listen 80; server_name _; charset utf-8; set $root "/var/www/html"; access_log /var/log/nginx/access.log combined; error_log /var/log/nginx/error.log; gzip on; gzip_disable "msie6"; gzip_comp_level 6; gzip_min_length 1100; gzip_buffers 16 8k; gzip_proxied any; gzip_types text/plain application/xml application/javascript text/css text/js text/xml application/x-javascript text/javascript application/json application/xml+rss; client_max_body_size 100m; client_body_buffer_size 128k; client_header_timeout 3m; client_body_timeout 3m; send_timeout 3m; client_header_buffer_size 1k; large_client_header_buffers 4 16k; error_page 598 = @backend; location @backend { root $root; proxy_read_timeout 61; fastcgi_read_timeout 61; try_files $uri $uri/ =404; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location / { if (-f $root/maintenance) { return 503; } root $root; index index.php index.html index.htm; rewrite ^/api/(.*)$ /api.php?_d=$1&ajax_custom=1&$args last; try_files $uri $uri/ @fallback; } location @fallback { rewrite ^(.*)$ /index.php?$args last; } location ~* \.(jpeg|ico|jpg|gif|png|css|js|pdf|txt|tar|wof|csv|zip) { access_log off; try_files $uri @statics; expires 14d; add_header Access-Control-Allow-Origin *; add_header Cache-Control public; root /var/www/html; } location @statics { rewrite ^/(\w+)/(.*)$ /$2 break; access_log off; rewrite_log off; expires 14d; add_header Cache-Control public; add_header Access-Control-Allow-Origin *; root /var/www/html; } location ~ /(index|admin|api).php { return 598; } location = /install/index.php { return 598; } location ^~ /app/ { return 404; location = /app/addons/rus_exim_1c/exim_1c.php { return 598; } } location ^~ /app/payments/ { return 404; location ~ \.php$ { return 598; } } location ^~ /var/database/ { return 404; } location ~* \.([pP][hH][pP]|[tT][pP][lL].?)$ { return 404; } location ~ /\.(ht|git) { return 404; } }