Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update various advabest configs, mainly nginx stuff
- Loading branch information
chris flöß
committed
Oct 8, 2010
1 parent
dbb35a4
commit 9b533e3
Showing
5 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
modules/advabest/files/nginx_conf/sites-available/adva-cms.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
server { | ||
listen 80; | ||
server_name adva-cms.org; | ||
access_log /home/application/projects/adva-cms.org/log/adva-cms.org.log; | ||
root /home/application/projects/adva-cms.org/export; | ||
index index.html index.htm; | ||
|
||
try_files $uri $uri/index.html $uri.html; | ||
|
||
#auth_basic "Staging"; | ||
#auth_basic_user_file staging.sk.htpasswd; | ||
|
||
## passenger stuff | ||
#passenger_enabled on; | ||
#rails_env staging; | ||
#rails_spawn_method smart-lv2; | ||
#rails_framework_spawner_idle_time 1800; | ||
#rails_app_spawner_idle_time 600; | ||
|
||
#location ~* ^/(javascripts|stylesheets|images/layout|images/colorbox|digital_contents) { | ||
# expires max; | ||
#} | ||
#location /data/pricelists { | ||
# root /home/application/projects/s_k/staging/shared; | ||
# internal; | ||
#} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,5 +87,4 @@ server { | |
#} | ||
|
||
|
||
} | ||
} | ||
#} |
27 changes: 27 additions & 0 deletions
27
modules/advabest/files/nginx_conf/sites-available/globalize-rails.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
server { | ||
listen 80; | ||
server_name globalize-rails.org; | ||
access_log /home/application/projects/globalize-rails.org/log/globalize-rails.org.log; | ||
root /home/application/projects/globalize-rails.org/export; | ||
index index.html index.htm; | ||
|
||
try_files $uri $uri/index.html $uri.html; | ||
|
||
#auth_basic "Staging"; | ||
#auth_basic_user_file staging.sk.htpasswd; | ||
|
||
## passenger stuff | ||
#passenger_enabled on; | ||
#rails_env staging; | ||
#rails_spawn_method smart-lv2; | ||
#rails_framework_spawner_idle_time 1800; | ||
#rails_app_spawner_idle_time 600; | ||
|
||
#location ~* ^/(javascripts|stylesheets|images/layout|images/colorbox|digital_contents) { | ||
# expires max; | ||
#} | ||
#location /data/pricelists { | ||
# root /home/application/projects/s_k/staging/shared; | ||
# internal; | ||
#} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class advabest::nginx { | ||
# A hack to fix that fact that we can't figure out how | ||
# to force control where puppet keeps it's pid file in | ||
# ubuntu citizens | ||
file { | ||
"/var/lib/puppet/run/puppetd.pid": | ||
ensure => "/var/puppet/run/puppetd.pid", | ||
} | ||
} |