rails_pwnerer 0.5.18 → 0.5.19
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/pwnage/app/nginx_config.rb +5 -1
- data/rails_pwnerer.gemspec +3 -3
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -23,7 +23,7 @@ class RailsPwnage::App::NginxConfig
|
|
23
23
|
server {
|
24
24
|
listen 80;
|
25
25
|
#{(dns_name.empty? ? '' : "server_name " + dns_name + ";")}
|
26
|
-
root #{app_config[:app_path]};
|
26
|
+
root #{app_config[:app_path]}/public;
|
27
27
|
client_max_body_size #{app_config[:max_request_mb]}M;
|
28
28
|
location / {
|
29
29
|
proxy_set_header X-Real-IP $remote_addr;
|
@@ -32,6 +32,10 @@ class RailsPwnage::App::NginxConfig
|
|
32
32
|
proxy_connect_timeout 2;
|
33
33
|
proxy_read_timeout 86400;
|
34
34
|
|
35
|
+
if (-f $request_filename) {
|
36
|
+
break;
|
37
|
+
}
|
38
|
+
|
35
39
|
if (-f $request_filename/index.html) {
|
36
40
|
rewrite (.*) $1/index.html break;
|
37
41
|
}
|
data/rails_pwnerer.gemspec
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Rails_pwnerer-0.5.
|
2
|
+
# Gem::Specification for Rails_pwnerer-0.5.19
|
3
3
|
# Originally generated by Echoe
|
4
4
|
|
5
5
|
--- !ruby/object:Gem::Specification
|
6
6
|
name: rails_pwnerer
|
7
7
|
version: !ruby/object:Gem::Version
|
8
|
-
version: 0.5.
|
8
|
+
version: 0.5.19
|
9
9
|
platform: ruby
|
10
10
|
authors:
|
11
11
|
- Victor Costan
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
|
15
|
-
date: 2008-08-
|
15
|
+
date: 2008-08-30 00:00:00 -04:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_pwnerer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Costan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-08-
|
12
|
+
date: 2008-08-30 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|