Last active
December 11, 2015 10:28
-
-
Save chriscowley/4586630 to your computer and use it in GitHub Desktop.
Nginx config for Trac
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
| upstream trac.example.com { | |
| server 127.0.0.1:3050; | |
| } | |
| server { | |
| listen 80; | |
| server_name trac.example.com; | |
| access_log /var/log/nginx/trac.access.log; | |
| error_log /var/log/nginx/trac.error_log; | |
| location / { | |
| proxy_pass http://trac.example.com; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment