Browse Source

Fixed ports that nginx is listening on

Patrick Falls 12 years ago
parent
commit
dc94cdd422

+ 1 - 1
rack/config/nginx.conf

@@ -84,7 +84,7 @@ http {
 
 
   server {
   server {
     # enable one of the following if you're on Linux or FreeBSD
     # 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
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
 
     # If you have IPv6, you'll likely want to have two separate listeners.
     # 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 {
   server {
     # enable one of the following if you're on Linux or FreeBSD
     # 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
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
 
     # If you have IPv6, you'll likely want to have two separate listeners.
     # 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
 worker_processes 8
+listen "/tmp/.sock", :backlog => 256
 
 
 preload_app true
 preload_app true
 GC.respond_to?(:copy_on_write_friendly=) and
 GC.respond_to?(:copy_on_write_friendly=) and

+ 1 - 1
rails/config/nginx.conf

@@ -84,7 +84,7 @@ http {
 
 
   server {
   server {
     # enable one of the following if you're on Linux or FreeBSD
     # 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
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
 
     # If you have IPv6, you'll likely want to have two separate listeners.
     # 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
 worker_processes 8
+listen "/tmp/.sock", :backlog => 256
 
 
 preload_app true
 preload_app true
 GC.respond_to?(:copy_on_write_friendly=) and
 GC.respond_to?(:copy_on_write_friendly=) and

+ 1 - 1
sinatra/config/nginx.conf

@@ -84,7 +84,7 @@ http {
 
 
   server {
   server {
     # enable one of the following if you're on Linux or FreeBSD
     # 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
     # listen 80 default accept_filter=httpready; # for FreeBSD
 
 
     # If you have IPv6, you'll likely want to have two separate listeners.
     # 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
 worker_processes 8
-
+listen "/tmp/.sock", :backlog => 256
 preload_app true
 preload_app true
 GC.respond_to?(:copy_on_write_friendly=) and
 GC.respond_to?(:copy_on_write_friendly=) and
   GC.copy_on_write_friendly = true
   GC.copy_on_write_friendly = true