diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2013-11-30 17:28:25 +0100 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2013-11-30 17:28:25 +0100 |
| commit | 267403fe5d1e1142d54c6d699f8deeac2a3334ec (patch) | |
| tree | 76c3bb69125a9752636c9e63cbf04c7579cda5e5 /nginx_unicorn/nginx.server.conf | |
| parent | f198c41756a408a0b4b4e9769c778fed8abd944f (diff) | |
| download | dotfiles-267403fe5d1e1142d54c6d699f8deeac2a3334ec.tar.gz dotfiles-267403fe5d1e1142d54c6d699f8deeac2a3334ec.zip | |
Removed the NGinx + Unicorn config files.
These files were outdated. Anyways, I think that this kind of files shouldn't
be placed in a "dotfiles" repo.
Diffstat (limited to 'nginx_unicorn/nginx.server.conf')
| -rw-r--r-- | nginx_unicorn/nginx.server.conf | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/nginx_unicorn/nginx.server.conf b/nginx_unicorn/nginx.server.conf deleted file mode 100644 index 5d862b4..0000000 --- a/nginx_unicorn/nginx.server.conf +++ /dev/null @@ -1,44 +0,0 @@ -upstream unicorn { - server unix:/tmp/unicorn.my_app_name.sock fail_timeout=0; -} - -server { - listen 80 default deferred; - # server_name the_name_of_my_server; - - root /my/app/public/root; - try_files $uri/index.html $uri @unicorn; - location @unicorn { - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - proxy_redirect off; - proxy_pass http://unicorn; - } - - error_page 500 502 503 504 /500.html; - client_max_body_size 4G; - keepalive_timeout 10; -} - -# Same as above but with SSL & SPDY -# server { -# listen 80; -# listen 443 ssl spdy; -# server_name example.com; - -# ssl_certificate /etc/ssl/certs/my.ssl.crt; -# ssl_certificate_key /etc/ssl/private/my.ssl.key; - -# root /my/app/public/root; -# try_files $uri/index.html $uri @unicorn; -# location @unicorn { -# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -# proxy_set_header Host $http_host; -# proxy_redirect off; -# proxy_pass http://unicorn; -# } - -# error_page 500 502 503 504 /500.html; -# client_max_body_size 4G; -# keepalive_timeout 10; -# } |
