Skip to content

Instantly share code, notes, and snippets.

@alanbriolat
Created October 6, 2011 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanbriolat/1266944 to your computer and use it in GitHub Desktop.
Save alanbriolat/1266944 to your computer and use it in GitHub Desktop.
nginx configuration for redmine
server {
listen 80;
server_name projects.hexi.co redmine.codescape.net;
root /home/alan/www/redmine.codescape.net/public;
include global/restrictions.conf;
location / {
try_files $uri @redmine_fcgi;
}
location @redmine_fcgi {
include fastcgi_params;
fastcgi_pass unix:/var/run/supervisor/redmine.sock;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment