Created
January 16, 2013 15:23
-
-
Save moqada/4547917 to your computer and use it in GitHub Desktop.
nginx config file for gollum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 8880; | |
server_name gollum; | |
location / { | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
proxy_redirect off; | |
proxy_pass http://localhost:9090; | |
access_log /var/log/nginx/gollum.access.log; | |
error_log /var/log/nginx/gollum.error.log; | |
} | |
location ~/(javascript|css|livepreview)/ { | |
root /home/gollum/gollum/lib/gollum/frontend/public/gollum; | |
access_log /var/log/nginx/gollum.static.access.log; | |
error_log /var/log/nginx/gollum.static.error.log; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment