Title: Falcon engine on nginx
Last modified: August 22, 2016

---

# Falcon engine on nginx

 *  [bananapie](https://wordpress.org/support/users/bananapie/)
 * (@bananapie)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/falcon-engine-on-nginx/)
 * Hello. I need some help to get the Falcon caching engine working on a vps running
   nginx.
 * The nginx.conf file contains the following entries :
 *     ```
       #user  nginx;
   
       # The number of worker processes is changed automatically by CustomBuild, according to the number of CPU cores, if it's set to "1"
       worker_processes  2;
   
       pid /var/run/nginx.pid;
   
       #error_log  logs/error.log;
       #error_log  logs/error.log  notice;
       #error_log  logs/error.log  info;
   
       events {
           include /etc/nginx/nginx-events.conf;
       }
   
       http {
           include       /etc/nginx/mime.types;
   
           # For user configurations not maintained by DirectAdmin. Empty by default.
           include /etc/nginx/nginx-includes.conf;
   
           # Supplemental configuration
           include /etc/nginx/nginx-defaults.conf;
           include /etc/nginx/nginx-gzip.conf;
           include /etc/nginx/directadmin-ips.conf;
           include /etc/nginx/directadmin-settings.conf;
           include /etc/nginx/nginx-vhosts.conf;
           include /etc/nginx/directadmin-vhosts.conf;
       }
       ```
   
 * What should I add to this to get Falcon up and running?
 * I am unsure if I can replace the current nginx.conf with the one proposed [here](http://www.wordfence.com/blog/2014/05/nginx-wordfence-falcon-engine-php-fpm-fastcgi-fast-cgi/)
   without breaking anything.
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/falcon-engine-on-nginx/#post-5595846)
 * We use nginx on our servers (as many of our users do) so I’m pretty sure you 
   can. 🙂
 * Here’s a good page describing the process:
    [http://www.wordfence.com/blog/2014/05/nginx-wordfence-falcon-engine-php-fpm-fastcgi-fast-cgi/](http://www.wordfence.com/blog/2014/05/nginx-wordfence-falcon-engine-php-fpm-fastcgi-fast-cgi/)
 * tim
 *  [Action Turtle](https://wordpress.org/support/users/benjaminbernard/)
 * (@benjaminbernard)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/falcon-engine-on-nginx/#post-5595938)
 * haha… bummer the authors are being vague… Sorry WF.. He linked to that file already…
   It is confusing if you are not used to NGINX and I would advice changing that
   blog post to make a single wordfence.conf file that you then just add a link 
   to in your Nginx.conf… would be much simpler… and if they have conf.d set up 
   they could just copy a downloaded file from you there and be done…
 * So bananapie just add
 * `include /etc/nginx/wf.conf;`
 * after the last include in the config you posted… Then SFTP into /etc/nginx
 * Create a file called wf.conf
 * and put this…
 *     ```
       server {
                  all word fence code from where it says start word fence to end word fence (no other code)
       }
       ```
   
 * make sure to put it in a server block… Then your should be good go..
 * if you want to clean it up some more…
 * just have this as the only include modual
 * `include /etc/nginx/conf.d/*.conf`
 * then make a folder in the nginx directory called conf.d (following nginx naming)
 * and put all the config files in there… the asterisk will wild card any config
   so you can just add away in there and not have to update the nginx.conf each 
   time
 * make sure to restart nginx…
 * Hope that helps…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Falcon engine on nginx’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * 2 replies
 * 3 participants
 * Last reply from: [Action Turtle](https://wordpress.org/support/users/benjaminbernard/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/falcon-engine-on-nginx/#post-5595938)
 * Status: not resolved