Forum Activity for @jimmy

jimmyk
@jimmy
02/24/16 01:02:39PM
514 posts

How Apache Is Losing The Web To NGINX


Off Topic

Some parts of the platform stack are so ubiquitous that that are almost transparent. Commercialized web servers were the first part of the Internet to make the jump from service providers to enterprises, and they made companies like Netscape, IBM, Microsoft, and Red Hat rich in those early days.

The open source Apache web server rose to prominence along with the open source and Linux software movements that coincided with the rise of Internet-style networking and computing, and for several decades the Apache web server has dominated the installed base. But the NGINX web serving and load balancing platform, which is also open source, has been making steady gains in recent years, and it looks like it won’t be too long before it surpasses Apache in the installed base.

What is going on here?

Read More: http://www.nextplatform.com/2016/02/24/how-apache-is-losing-the-web-to-nginx/
updated by @jimmy: 05/27/16 11:08:28AM
jimmyk
@jimmy
02/15/16 01:28:35PM
514 posts

Jamroom and Nginx Centmin Mod LEMP Stack


Off Topic

Created a separate staticfiles.conf file located here:

https://gist.github.com/zeronug/c5d3298f4783dc73efc9
jimmyk
@jimmy
02/15/16 11:24:37AM
514 posts

Index Not Found


Installation and Configuration

I believe I figured it out. What I did was create 3 locations for the directories:

location ~^(/modules/).*(\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso))$ {
	gzip_static off;
	#add_header Pragma public;
	add_header Cache-Control "public, must-revalidate, proxy-revalidate";
	access_log off;
	expires 30d;
	break;
        }
    location ~^(/data/).*(\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso))$ {
	gzip_static off;
	#add_header Pragma public;
	add_header Cache-Control "public, must-revalidate, proxy-revalidate";
	access_log off;
	expires 30d;
	break;
        }
    location ~^(/skins/).*(\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso))$ {
	gzip_static off;
	#add_header Pragma public;
	add_header Cache-Control "public, must-revalidate, proxy-revalidate";
	access_log off;
	expires 30d;
	break;
        }

I can use the three above and the images show. If I try one of the location blocks with:

/image/img/module/jrCore/

the ACP jrCore images don't show. So, I know it's working on all the images except that specific location, which happens to be the location for those ACP images.
updated by @jimmy: 02/15/16 11:25:17AM
jimmyk
@jimmy
02/15/16 11:09:40AM
514 posts

Index Not Found


Installation and Configuration

@brian most of the files with the extensions (3gpgifjpgjpegpngicowmvaviasfasxmpgmpegmp4plsmp3midwavswfflvexeziptarrargztgzbz2uha7zdocdocxxlsxlsxpdfiso) are going to be in either the skins and the data directory, correct? If so, I can apply the rule to both those directories and omit the modules directory?
jimmyk
@jimmy
02/15/16 10:52:09AM
514 posts

Index Not Found


Installation and Configuration

I'm not sure I want to exclude that rule for the entire JR site. Since it's only affecting a select group of images in the ACP couldn't there be a sort of work around for this?

I could create a new staticfiles.conf file for just my JR site on the server. But like I said above, I wouldn't be able to use any of the settings for all the other images on the site which aren't affected by this.

I'm trying to do a specific rule for the jrCore directory. We'll see what happens.


updated by @jimmy: 02/15/16 10:57:58AM
jimmyk
@jimmy
02/14/16 08:40:34PM
514 posts

Image Upload Issue


Jamroom Developers

I tried it on Firefox before and it worked. Dam Chrome!
jimmyk
@jimmy
02/14/16 05:17:20PM
514 posts

Index Not Found


Installation and Configuration

Looks like I found the issue.

There is a location for staticfiles in Centminmod.

   location ~* \.(3gpgifjpgjpegpngicowmvaviasfasxmpgmpegmp4plsmp3midwavswfflvexeziptarrargztgzbz2uha7zdocdocxxlsxlsxpdfiso)$ {
	gzip_static off;
	#add_header Pragma public;
	add_header Cache-Control "public, must-revalidate, proxy-revalidate";
	access_log off;
	expires 30d;
	break;
        }

@brian the above isn't playing nice with the images in the ACP (see screen shot above) any thoughts? I can remove it for JR but having this included works for every other script I've installed and I'm not having any other issues with any of the other images on the site... just the ACP images.

I asked the centminmod developer https://community.centminmod.com/posts/26574/ if I could just remove the above and he said:

Quote:"What is an example url link to the broken image ? and where does that image reside on local path ?"
depends on that

Any ideas?
updated by @jimmy: 02/14/16 05:41:05PM
jimmyk
@jimmy
02/14/16 05:01:55PM
514 posts

Soundcloud looses $44 milion


Off Topic

I agree the more options the better.

But here is the issue I've run into when dealing with advertising networks. They want me to use their code on my site. That's a big no-no for me. I'm not running someone else's javascript on my site. I'll run Google's but that's about it.

If you guys at JR decided to develop a ad network, that would be different, I trust you guys.

Creating an ad module that displays code can be a one size fits all. You could have the options of a self service system and the option of create a zone and adding any code. Most likely an ad network is going to just give you code anyway. Once the niche catches on, niche advertisers will contact JR owners asking to display an ad. Having the option available will bring higher profits vs. directing them to a network which pays pennies on the dollar.

I started working on an ad module, but it's far from complete.
jimmyk
@jimmy
02/14/16 04:37:41PM
514 posts

Image Upload Issue


Jamroom Developers

Well, it appears to be my browser cache in Chrome that keeps showing the same image. Even when I updated the image with a new name, Chrome keeps showing the same image.
jimmyk
@jimmy
02/14/16 04:34:25PM
514 posts

Image Upload Issue


Jamroom Developers

I was responding to a thread on this forum with an image. I uploaded the image fine. I realized that the image I attached to the forum reply, was an old image that needed to be replaced.

I went in and edited my forum post. I deleted the image and uploaded a new image with the same name. The old image remains. I tried to delete the image a few times but whenever I uploaded a new image with the same name, the old image remains.

Not sure if this is because of the cache, etc. Nevertheless wanted to make you aware of the issue.
updated by @jimmy: 05/15/16 10:36:55AM
  12