View Single Post
Old 01-08-2018, 04:25 PM  
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 380
So...
I moved one of my servers in vultr and finally UFW seems to work properly, I'm blocking a few hundred IP of cloners, bad-bots, Chinese IP etc. and for now no problem..


In the next few days I would also like to move the sites of my second server.

Since I have to move the second server I came a new idea (just to complicate life more and more)

And if I try Nginx?

I could add all the other sites to the Apache server I've already created, but since you have to do the job maybe it's worth a try.

Of Nginx I do not know anything, except that they do not work the htaccess and that url_rewriter should be moved to the servers blocks (I think are the virtual hosts), deflate there should be, mod_headers and mod_expires and everything else I have no idea.

Url_rewriter I hate it in Apache, and it hate even more in Nginx, but my url_rewriter is simple and I saw that there are converters from Apache to Nginx (but they are deprecated)

For everything else my sites are basically PHP and MySQL, it should work pretty much everything.

But it remains a question, is it worth using nginx instead of Apache?
  • My sites generate all content dynamically via MySQL-PHP, there are no real HTML pages.
  • The url_rewriter transform everything into HTML or folder-like structure, but there is nothing physical on the server.
  • My MySQL databases can also contain about a million lines.
  • My sites currently are all under 5-10000 visits a day.
  • Almost all images are hosted on other servers

Does it make sense to use Nginx instead of Apache?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote