Skip to content


Subversion checkout URL

You can clone with
Download ZIP


nginx proxy howto #301

merged 1 commit into from

2 participants


I added a short paragraph showing how to use nginx instead of apache.

(P.S.: Thanks for gitit, it's a great piece of software!)

@jgm jgm merged commit ed81197 into jgm:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 19, 2012
  1. @fs111
This page is out of date. Refresh to see the latest.
Showing with 19 additions and 0 deletions.
  1. +19 −0 README.markdown
19 README.markdown
@@ -478,6 +478,25 @@ loaded, and set up a virtual host with the following configuration:
Reload your apache configuration and you should be all set.
+Using nginx to achieve the same
+Drop a file called into /etc/nginx/conf.d (or where ever
+your distribution puts it).
+ server {
+ listen 80;
+ server_name
+ location / {
+ proxy_pass;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_redirect off;
+ }
+ access_log /var/log/nginx/ main;
+ }
+Reload your nginx config and you should be good all set.
Proxying to ``
Something went wrong with that request. Please try again.