annotate server-setup.html @ 1700:79c837179ffb

Creating site for 2.6-SNAPSHOT
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Tue, 18 Dec 2018 10:45:17 +0000
parents 8a9c66abb57c
children 9538e27b5c2f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
1 <!DOCTYPE html>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
2 <!--
1700
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
3 | Generated by Apache Maven Doxia at 2018-12-18
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
4 | Rendered using Apache Maven Fluido Skin 1.3.0
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
5 -->
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
7 <head>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
8 <meta charset="UTF-8" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
9 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
1700
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
10 <meta name="Date-Revision-yyyymmdd" content="20181218" />
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
11 <meta http-equiv="Content-Language" content="en" />
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
12 <title>digilib - The Digital Image Library &#x2013; Server setup for digilib</title>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
13 <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
14 <link rel="stylesheet" href="./css/site.css" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
15 <link rel="stylesheet" href="./css/print.css" media="print" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
16
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
17
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
18 <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
19
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
20
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
21 </head>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
22 <body class="topBarDisabled">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
23
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
24
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
25
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
26 <div class="container-fluid">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
27 <div id="banner">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
28 <div class="pull-left">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
29 <a href="https://robcast.github.io/digilib/" id="bannerLeft">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
30 <h2>digilib - a versatile image viewing environment for the internet</h2>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
31 </a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
32 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
33 <div class="pull-right"> <a href="https://robcast.github.io/digilib/" id="bannerRight">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
34 <img src="images/digilib-logo-small.png" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
35 </a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
36 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
37 <div class="clear"><hr/></div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
38 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
39
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
40 <div id="breadcrumbs">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
41 <ul class="breadcrumb">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
42
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
43
1700
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
44 <li id="publishDate">Last Published: 2018-12-18</li>
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
45 <li class="divider">|</li> <li id="projectVersion">Version: 2.6-SNAPSHOT</li>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
46
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
47
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
48
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
49
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
50 </ul>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
51 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
52
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
53
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
54 <div class="row-fluid">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
55 <div id="leftColumn" class="span3">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
56 <div class="well sidebar-nav">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
57
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
58
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
59 <ul class="nav nav-list">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
60 <li class="nav-header">Overview</li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
61
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
62 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
63
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
64 <a href="index.html" title="About digilib">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
65 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
66 About digilib</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
67 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
68
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
69 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
70
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
71 <a href="features.html" title="digilib features">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
72 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
73 digilib features</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
74 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
75
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
76 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
77
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
78 <a href="digilib-short.html" title="How digilib works">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
79 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
80 How digilib works</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
81 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
82
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
83 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
84
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
85 <a href="history.html" title="Ancient history">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
86 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
87 Ancient history</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
88 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
89 <li class="nav-header">Installation</li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
90
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
91 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
92
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
93 <a href="build-maven.html" title="Building digilib">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
94 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
95 Building digilib</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
96 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
97
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
98 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
99
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
100 <a href="install-digilib.html" title="Installing digilib">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
101 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
102 Installing digilib</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
103 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
104
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
105 <li class="active">
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
106
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
107 <a href="#"><i class="none"></i>Server setup</a>
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
108 </li>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
109 <li class="nav-header">Configuration</li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
110
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
111 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
112
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
113 <a href="digilib-config.html" title="Configuring digilib">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
114 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
115 Configuring digilib</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
116 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
117
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
118 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
119
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
120 <a href="image-directories.html" title="Directory layout">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
121 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
122 Directory layout</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
123 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
124
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
125 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
126
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
127 <a href="java-settings.html" title="Java settings and tuning">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
128 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
129 Java settings and tuning</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
130 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
131
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
132 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
133
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
134 <a href="auth.html" title="Access control">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
135 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
136 Access control</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
137 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
138 <li class="nav-header">Development</li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
139
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
140 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
141
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
142 <a href="scaler-api.html" title="The digilib Scaler API">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
143 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
144 The digilib Scaler API</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
145 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
146
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
147 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
148
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
149 <a href="iiif-api.html" title="The digilib IIIF API">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
150 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
151 The digilib IIIF API</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
152 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
153
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
154 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
155
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
156 <a href="client-integration.html" title="Integrating digilib into your page">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
157 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
158 Integrating digilib into your page</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
159 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
160
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
161 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
162
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
163 <a href="plugins.html" title="Digilib plugins">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
164 <i class="none"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
165 Digilib plugins</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
166 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
167 <li class="nav-header">Project Documentation</li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
168
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
169 <li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
170
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
171 <a href="project-info.html" title="Project Information">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
172 <i class="icon-chevron-right"></i>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
173 Project Information</a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
174 </li>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
175 </ul>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
176
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
177
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
178
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
179 <hr class="divider" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
180
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
181 <div id="poweredBy">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
182 <div class="clear"></div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
183 <div class="clear"></div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
184 <div class="clear"></div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
185 <a href="http://maven.apache.org/" title="Built by Maven" class="builtBy">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
186 <img class="builtBy" alt="Built by Maven" src="https://maven.apache.org/images/logos/maven-feather.png" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
187 </a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
188 <a href="../../" title="Hosted by GitHub" class="builtBy">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
189 <img class="builtBy" alt="Hosted by GitHub" src="https://assets-cdn.github.com/images/modules/logos_page/GitHub-Logo.png" width="200px" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
190 </a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
191 <a href="http://www.sourceforge.net/" title="Hosted by SourceForge" class="builtBy">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
192 <img class="builtBy" alt="Hosted by SourceForge" src="https://upload.wikimedia.org/wikipedia/commons/0/0b/Sourceforge_logo.png" />
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
193 </a>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
194 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
195 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
196 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
197
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
198
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
199 <div id="bodyColumn" class="span9" >
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
200
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
201 <h1>Server setup for digilib</h1>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
202 <p>There are a variety of ways to deploy digilib on different server configurations for production sites. </p>
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
203 <p>Here are some examples and tips.</p>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
204 <div class="section">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
205 <h2><a name="nginx_as_proxy"></a>nginx as proxy</h2>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
206 <p>This is an example configuration for <tt>nginx</tt> as a proxy for a single instance of digilib (listening on port <tt>8080</tt>) that handles transport encryption and restricts access to sensitive data to the gateway of a local network (<tt>1.2.3.4</tt>).</p>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
207
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
208 <div class="source">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
209 <div class="source">
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
210 <pre>server {
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
211 listen 443 ssl http2;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
212 listen [::]:443 ssl http2;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
213 server_name digilib.example.org;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
214
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
215 # this certificate chain shall *not* include the root certificate:
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
216 ssl_certificate /etc/ssl/certs/digilib.example.org.pem;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
217 ssl_certificate_key /etc/ssl/private/digilib.example.org.key;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
218
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
219 include /etc/nginx/proxy_params;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
220
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
221 location ~* .*/(dlConfig|dlRequest).jsp$ {
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
222 allow 1.2.3.4;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
223 deny all;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
224 proxy_pass http://localhost:8080;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
225 }
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
226
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
227 location / {
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
228 proxy_pass http://localhost:8080;
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
229 }
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
230 }
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
231 </pre></div></div>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
232 <div class="section">
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
233 <h3><a name="Resources"></a>Resources</h3>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
234
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
235 <ul>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
236
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
237 <li>the <a href="nginx.org/en/docs/">nginx documentation</a></li>
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
238 </ul></div></div>
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
239 <div class="section">
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
240 <h2><a name="Apache_as_proxy_and_load-balancer"></a>Apache as proxy and load-balancer</h2>
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
241 <p>This is an example configuration for <a class="externalLink" href="https://httpd.apache.org/">Apache</a> as a proxy and load balancer for two instances of digilib (one running on localhost, port 8080 and another on otherserver, port 8080), using SSL and http/2:</p>
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
242
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
243 <div class="source">
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
244 <div class="source">
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
245 <pre>&lt;VirtualHost *:443&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
246 # HTTP/2 protocol (Apache 2.4.29 and later)
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
247 Protocols h2 http/1.1
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
248 ServerName digilib.example.com
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
249 SSLCertificateFile /etc/ssl/private/digilib-cert.pem
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
250 SSLCertificateKeyFile /etc/ssl/private/digilib-key.pem
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
251 SSLEngine on
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
252
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
253 DocumentRoot /var/www
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
254 &lt;Directory /&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
255 Options FollowSymLinks
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
256 AllowOverride None
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
257 &lt;/Directory&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
258 &lt;Directory /var/www/&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
259 Options Indexes FollowSymLinks MultiViews
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
260 AllowOverride None
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
261 Order allow,deny
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
262 allow from all
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
263 &lt;/Directory&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
264
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
265 ErrorLog ${APACHE_LOG_DIR}/digilib-ssl-error.log
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
266 LogLevel warn
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
267 CustomLog ${APACHE_LOG_DIR}/digilib-ssl-access.log combined
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
268
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
269 # do not forward-proxy!
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
270 ProxyRequests off
1700
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
271 # set proxy headers
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
272 ProxyPreserveHost On
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
273 RequestHeader set X-Forwarded-Proto &quot;https&quot;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
274 # digilib instances
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
275 &lt;Proxy balancer://digilibs&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
276 BalancerMember http://127.0.0.1:8080
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
277 BalancerMember http://otherserver.example.com:8080
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
278 &lt;/Proxy&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
279 # balance by busy-ness
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
280 ProxyPass /digitallibrary balancer://digilibs/digitallibrary lbmethod=bybusyness
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
281 ProxyPassReverse /digitallibrary balancer://digilibs/digitallibrary
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
282
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
283 # balancer-manager frontend (be careful!)
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
284 &lt;Location /balancer-manager&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
285 SetHandler balancer-manager
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
286 Require host localhost
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
287 &lt;/Location&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
288 &lt;/VirtualHost&gt;
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
289 </pre></div></div></div>
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
290 <div class="section">
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
291 <h2><a name="Jetty_behind_a_proxy"></a>Jetty behind a proxy</h2>
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
292 <p>When you are using <a class="externalLink" href="https://www.eclipse.org/jetty/">Jetty</a> as servlet container behind an Apache or nginx proxy then you should make sure that Jetty processes the <tt>X-Forwarded-*</tt> headers from the proxy server to derive the correct request URL for the servlets.</p>
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
293 <p>Please see <a class="externalLink" href="http://www.eclipse.org/jetty/documentation/9.4.x/configuring-connectors.html#_proxy_load_balancer_connection_configuration">this information for Jetty 9.4</a> or <a class="externalLink" href="https://wiki.eclipse.org/Jetty/Tutorial/Apache#Configuring_mod_proxy_http">this information for Jetty 8 and earlier versions</a>.</p></div>
1700
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
294 <div class="section">
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
295 <h2><a name="Tomcat_behind_a_proxy"></a>Tomcat behind a proxy</h2>
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
296 <p>When you are using <a class="externalLink" href="https://tomcat.apache.org">Tomcat</a> as a servlet container behind an Apache or nginx proxy then you should make sure that Tomcat processes the <tt>X-Forwarded-*</tt> headers from the proxy server to derive the correct request URL for the servlets.</p>
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
297 <p>Please see the Tomcat documentation about the <a class="externalLink" href="https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Remote_IP_Valve">Remote IP Valve</a>. You basically need to add the following XML tag with your proxy&#x2019;s IP numbers to the <tt>Host</tt> tag of your <tt>server.xml</tt> file: <tt>
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
298 &lt;Valve className=&quot;org.apache.catalina.valves.RemoteIpValve&quot;
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
299 internalProxies=&quot;127\.0\.0\.1|123\.45\.67\.89&quot;
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
300 remoteIpHeader=&quot;x-forwarded-for&quot;
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
301 proxiesHeader=&quot;x-forwarded-by&quot;
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
302 protocolHeader=&quot;x-forwarded-proto&quot; /&gt;
79c837179ffb Creating site for 2.6-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1682
diff changeset
303 </tt> and make sure <tt>ProxyPreserveHost</tt> is set to <tt>on</tt>.</p></div>
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
304 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
305 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
306 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
307
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
308 <hr/>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
309
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
310 <footer>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
311 <div class="container-fluid">
1682
8a9c66abb57c Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 1666
diff changeset
312 <div class="row span12">Copyright &copy; 2001-2018
1659
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
313 <a href="https://robcast.github.io/digilib/">digilib Community</a>.
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
314 All Rights Reserved.
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
315
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
316 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
317
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
318
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
319
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
320 </div>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
321 </footer>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
322 </body>
fe8300fdcd9d Creating site for 2.5-SNAPSHOT
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
323 </html>