User account menu

  • Log in
BXTra.net

Breadcrumb

  • Home
  • Nginx

Nginx

[HOW-TO] Prevent Hotlink in Drupal 6 + Nginx - 2nd Method

By BXTra | 12:45 AM PST, Tue February 22, 2011
Nginx

After tried [HOW-TO] Prevent Hotlink in Drupal 6 + Nginx for a few days. I found a second method which is very similar to the first method but the different is in valid_referers.

Nginx Vhost configuration file - Protect hotlink (regexp)

  • Read more about [HOW-TO] Prevent Hotlink in Drupal 6 + Nginx - 2nd Method
  • Add new comment

[HOW-TO] Fix problem with Drupal + ImageCache when use Nginx as a reverse proxy

By BXTra | 7:12 PM PST, Tue February 15, 2011
Drupal
Nginx

I have set Nginx as a reverse proxy according to this tutorial -> [HOW-TO] Use Nginx as a reverse proxy for DirectAdmin which work fine. Then, I started to use Nginx to serve static files for one vhost which is running Drupal. PHP scripts still send to Apache to process through PHP-FPM. Everything seems to work fine until I found that there is one problem. The problem of images which is process by ImageCache. When I upload image, it doesn't shows as it should be.

  • Read more about [HOW-TO] Fix problem with Drupal + ImageCache when use Nginx as a reverse proxy
  • Add new comment

[HOW-TO] Prevent Hotlink in Drupal 6 + Nginx

By BXTra | 12:52 AM PST, Tue February 15, 2011
Drupal
Nginx

I have searched around how to prevent hotlink in Drupal when use with Nginx. A lot of website saying the same what to do. However, I have tried all of them but not even one of them that work. That was strange. I started to try more until this... I found the only method that work for me. Oh... one more thing... don't put them under "location" rule or it won't work. That took me half an hour to figure it out :(

Nginx Vhost configuration file - working config to protect hotlink

  • Read more about [HOW-TO] Prevent Hotlink in Drupal 6 + Nginx
  • Add new comment

[HOW-TO] Config Nginx to work with Drupal 6

By BXTra | 6:41 PM PST, Mon February 14, 2011
Drupal
Nginx
DirectAdmin
Yesterday, I've tried to setup Nginx as a Reverse Proxy for Apache - Worker MPM base webserver. I found that it doesn't help my server performance as I expected. So, I decided to try to set up Nginx to be a Webserver to see if Nginx can give me a better performance or not. I found a sample set up for Drupal website on Nginx web and it looks like it's pretty easy to set it up. So, I tried it. Just copy the code below into your configuration.
  • Read more about [HOW-TO] Config Nginx to work with Drupal 6
  • 1 comment
  • Add new comment

[HOW-TO] Install mod_rpaf for Apache 2.2

By BXTra | 11:59 PM PST, Sun February 13, 2011
Nginx
DirectAdmin
CentOS
Apache

When you do a reverse proxy in which Nginx will be the one who listen the traffic and forward anything needs to be process through PHP to Apache. With this, Apache will always receive an IP from Nginx server (or I should say localhost / 127.0.0.1 / local IP), not the real IP that user uses. In order to let Apache knows what is real user IP, we need to install mod_rpaf.

Just copy and paste code below into SSH :

  • Read more about [HOW-TO] Install mod_rpaf for Apache 2.2
  • 2 comments
  • Add new comment

[HOW-TO] Use Nginx as a reverse proxy for DirectAdmin

By BXTra | 9:45 PM PST, Sun February 13, 2011
Nginx
DirectAdmin

I try to use Nginx as a reverse proxy to see if there is any improvement over Apache Worker MPM or not. I found an instruction from DirectAdmin webboard but it's quite old. So, I just tried to follow their steps and do some modification to match what I have read. Below is what I did

1. You need to compile Nginx. Nginx version 0.8.54 is the lastest stable release as of today. So, just copy and paste below code into your SSH

  • Read more about [HOW-TO] Use Nginx as a reverse proxy for DirectAdmin
  • 8 comments
  • Add new comment
Subscribe to Nginx

  • Will the router get the Openvpn as a client option?
    6 years ago
  • cancellation
    6 years 1 month ago
  • Router ASUS RT-N12 D1 tomatoes passwort falsch
    7 years 8 months ago
  • WPS button = 30/30/30 hard reset button
    7 years 9 months ago
  • Save my day!
    8 years 3 months ago
  • How to
    8 years 6 months ago
  • Can i still access my modem (the one with the ISP provided)?
    8 years 6 months ago
  • A saving step!
    8 years 10 months ago
  • Problem with Asus n12e-c1
    8 years 11 months ago
  • don't use Hostgator
    9 years 2 months ago

© 2007 - 2023 BXTra.net. All Rights Reserved. 
Certain other content, photos and artwork displayed on BXTra.net are protected by copyright and are the property of their respective owners.

Privacy Policy