[atomic] Nginx 0.7.64

Atomic repository announcements, new release notifications and other news regarding the atomic yum repository.
dayo
Forum Regular
Forum Regular
Posts: 158
Joined: Sun Jul 12, 2009 1:33 pm

Re: [atomic] Nginx 0.7.64

Unread post by dayo »

This is a bit over my head really.

Found this example:

Code: Select all

##################################
# https://svn.wzuup.com/

server {
  listen               443;
  ssl                  on;
  ssl_certificate      wzuup.crt;
  ssl_certificate_key  wzuup.key;

  server_name  svn.wzuup.com;
  access_log   logs/svn.access.log;

  auth_basic    "Wzuup Subversion";
  auth_basic_user_file  htpasswd;

  location /wzuup {
    proxy_pass      http://127.0.0.1:9000;

    if ($http_destination ~ "^http://(.+)") {
      rewrite  ^(.*)$  https://$1 permanent;
    }

    proxy_set_header  X-Real-IP  $remote_addr;
    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header  X_FORWARDED_PROTO https;
    proxy_set_header Host $http_host;
    proxy_redirect false;
  }
}
With the requirements for certificates and passwords, I think this probably has to be something a user has to put in themselves rather than be part of a default installation. Similar I think to why the ssl.conf that comes with the nginx installation from your repo is commented out and is just there as a guide.

Seems too complex to be a generic fit all solution to my limited eye on this sort of stuff. I'll guess anyone deploying svn would be savvy enough to figure how to use nginx with it themselves with whatever custom stuff they need to do.

What do you think?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: [atomic] Nginx 0.7.64

Unread post by scott »

yeah I see whats going on there, I'm not sure this can be made generic since everyone is going to use a different name. We call our's "/repos/" here, but it could be anything. This is one of those things that would be resolved through some kind of configuration front end.
dayo
Forum Regular
Forum Regular
Posts: 158
Joined: Sun Jul 12, 2009 1:33 pm

Re: [atomic] Nginx 0.7.64

Unread post by dayo »

scott wrote:http://www4.atomicorp.com/channels/sour ... nginx.spec <- this is the spec file used for the package. It should answer your questions on the modules used. If you've got any recommendations for changes let me know.
Taking you up on this ...

1. How about updating the repo to Nginx 0.7.67? :D
2. While at it, how about some useful 3rd party modules? In order of priority:
a. Cache Purge Module
b. Memc Module
c. Headers More Module
d. Upstream Fair Balancer
e. SlowFS Cache Module

Thanks
Post Reply