Show More
@@ -574,14 +574,13 b' Sample config for nginx using proxy::' | |||||
574 | ## uncomment root directive if you want to serve static files by nginx |
|
574 | ## uncomment root directive if you want to serve static files by nginx | |
575 | ## requires static_files = false in .ini file |
|
575 | ## requires static_files = false in .ini file | |
576 | #root /path/to/installation/rhodecode/public; |
|
576 | #root /path/to/installation/rhodecode/public; | |
577 |
|
577 | include /etc/nginx/proxy.conf; | ||
578 | location / { |
|
578 | location / { | |
579 | try_files $uri @rhode; |
|
579 | try_files $uri @rhode; | |
580 | } |
|
580 | } | |
581 |
|
581 | |||
582 | location @rhode { |
|
582 | location @rhode { | |
583 | proxy_pass http://rc; |
|
583 | proxy_pass http://rc; | |
584 | include /etc/nginx/proxy.conf; |
|
|||
585 | } |
|
584 | } | |
586 |
|
585 | |||
587 | } |
|
586 | } |
General Comments 0
You need to be logged in to leave comments.
Login now