Hi,
I am nearing the end with setting up gitorious 3 production environment I
believe :-D.
I need some assistance with some more setup details for Gitorious using
nginx, I have started and get to this page:
Welcome to nginx!
If you see this page, the nginx web server is successfully installed
and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
* Thank you for using nginx.*
*Q:* What and where do I set these settings mentioned?
*Also here is my /etc/nginx/conf.d/000-gitorious:*
upstream rails {
server localhost:3000;
}
server {
root /projects/gitorious/gitorious/public;
try_files \$uri/index.html @app;
location @app {
proxy_pass http://rails;
proxy_set_header Host \$http_host;
proxy_redirect off;
}
listen 80;
# Handle tarball downloads
# Gitorious will send a X-Accel-Redirect header like
# X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz
# Which should be streamed from
$GITORIOUS_ROOT/tarball-cache/project-repo-sha.tar.gz
location /tarballs/ {
internal;
alias /projects/gitorious/tarballs/;
}
# Handle git-over-http requests
# Gitorious will send a X-Accel-Redirect header like
# X-Accel-Redirect: /git-http/project/repository.git/info/refs
# Which should map to
$GITORIOUS_ROOT/repositories/project/repository.git/info/refs
location /git-http/ {
internal;
alias /projects/gitorious/repositories/;
}
}
Thank you in advance,
Jaco T
>
>
> Hi Jaco,
>
> You should also be sure to install the "epel-release" RPM:
>
> https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html
>
> If there are any security updates for sphinx in the future, the
> "epel-release" package will ensure that you can easily keep sphinx up
> to date when you run "yum update".
>
> - Ken
>
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]