We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d5eef6 commit ec82782Copy full SHA for ec82782
conf/jruby.conf
@@ -48,17 +48,7 @@ server {
48
}
49
50
location /apidocs {
51
- include /etc/nginx/common/proxy.conf;
52
-
53
- if ($request_uri ~ ^/apidocs$) {
54
- rewrite ^/apidocs$ /apidocs/ redirect;
55
- }
56
57
- if (!-f $request_filename) {
58
- rewrite ^/apidocs/(.*)$ /job/jruby-dist/javadoc/$1;
59
- proxy_pass http://hudson_upstream;
60
- break;
61
+ alias /builds/jobs/jruby-dist/javadoc/;
62
63
64
location / {
0 commit comments