Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream redmine {
- # Path to Unicorn SOCK file, as defined previously
- server unix:/root/instances/redmine/unicorn.sock fail_timeout=0;
- }
- server {
- listen 80;
- server_name redmine.lethus.com.br;
- # Application root, as defined previously
- root /root/instances/redmine/public;
- try_files $uri/index.html $uri @redmine;
- location @redmine {
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header Host $http_host;
- proxy_redirect off;
- proxy_pass http://redmine;
- }
- error_page 500 502 503 504 /500.html;
- client_max_body_size 4G;
- keepalive_timeout 10;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement