소스 검색

Fixed ports that nginx is listening on

Patrick Falls 12 년 전
부모
커밋
dc94cdd422
7개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      rack/config/nginx.conf
  2. 1 1
      rails-stripped/config/nginx.conf
  3. 1 0
      rails-stripped/config/unicorn.rb
  4. 1 1
      rails/config/nginx.conf
  5. 1 0
      rails/config/unicorn.rb
  6. 1 1
      sinatra/config/nginx.conf
  7. 1 1
      sinatra/config/unicorn.rb

+ 1 - 1
rack/config/nginx.conf

@@ -84,7 +84,7 @@ http {
 
   server {
     # enable one of the following if you're on Linux or FreeBSD
-    listen 80 default deferred; # for Linux
+    listen 8080 default deferred; # for Linux
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
     # If you have IPv6, you'll likely want to have two separate listeners.

+ 1 - 1
rails-stripped/config/nginx.conf

@@ -84,7 +84,7 @@ http {
 
   server {
     # enable one of the following if you're on Linux or FreeBSD
-    listen 80 default deferred; # for Linux
+    listen 8080 default deferred; # for Linux
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
     # If you have IPv6, you'll likely want to have two separate listeners.

+ 1 - 0
rails-stripped/config/unicorn.rb

@@ -1,4 +1,5 @@
 worker_processes 8
+listen "/tmp/.sock", :backlog => 256
 
 preload_app true
 GC.respond_to?(:copy_on_write_friendly=) and

+ 1 - 1
rails/config/nginx.conf

@@ -84,7 +84,7 @@ http {
 
   server {
     # enable one of the following if you're on Linux or FreeBSD
-    listen 80 default deferred; # for Linux
+    listen 8080 default deferred; # for Linux
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
     # If you have IPv6, you'll likely want to have two separate listeners.

+ 1 - 0
rails/config/unicorn.rb

@@ -1,4 +1,5 @@
 worker_processes 8
+listen "/tmp/.sock", :backlog => 256
 
 preload_app true
 GC.respond_to?(:copy_on_write_friendly=) and

+ 1 - 1
sinatra/config/nginx.conf

@@ -84,7 +84,7 @@ http {
 
   server {
     # enable one of the following if you're on Linux or FreeBSD
-    listen 80 default deferred; # for Linux
+    listen 8080 default deferred; # for Linux
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
     # If you have IPv6, you'll likely want to have two separate listeners.

+ 1 - 1
sinatra/config/unicorn.rb

@@ -1,5 +1,5 @@
 worker_processes 8
-
+listen "/tmp/.sock", :backlog => 256
 preload_app true
 GC.respond_to?(:copy_on_write_friendly=) and
   GC.copy_on_write_friendly = true