View | Details | Raw Unified | Return to bug 23068
Collapse All | Expand All

(-)a/debian/scripts/koha-plack (+4 lines)
Lines 85-90 start_plack() Link Here
85
    PLACK_WORKERS=$(run_safe_xmlstarlet $instancename plack_workers)
85
    PLACK_WORKERS=$(run_safe_xmlstarlet $instancename plack_workers)
86
    [ -z $PLACK_WORKERS ] && PLACK_WORKERS="2"
86
    [ -z $PLACK_WORKERS ] && PLACK_WORKERS="2"
87
87
88
    KOHA_TRUSTED_PROXIES=$(run_safe_xmlstarlet $instancename koha_trusted_proxies)
89
    [ -z $KOHA_TRUSTED_PROXIES ] && KOHA_TRUSTED_PROXIES=""
90
    export KOHA_TRUSTED_PROXIES="$KOHA_TRUSTED_PROXIES"
91
88
    instance_user="${instancename}-koha"
92
    instance_user="${instancename}-koha"
89
93
90
    environment="deployment"
94
    environment="deployment"
(-)a/debian/templates/koha-conf-site.xml.in (+5 lines)
Lines 345-350 __END_SRU_PUBLICSERVER__ Link Here
345
 <plack_max_requests>50</plack_max_requests>
345
 <plack_max_requests>50</plack_max_requests>
346
 <plack_workers>2</plack_workers>
346
 <plack_workers>2</plack_workers>
347
347
348
 <!-- Configuration for X-Forwarded-For -->
349
 <!--
350
 <koha_trusted_proxies>1.2.3.4 2.3.4.5 3.4.5.6</koha_trusted_proxies>
351
 -->
352
348
 <!-- Elasticsearch Configuration -->
353
 <!-- Elasticsearch Configuration -->
349
 <elasticsearch>
354
 <elasticsearch>
350
     <server>localhost:9200</server>
355
     <server>localhost:9200</server>
(-)a/etc/koha-conf.xml (-1 / +5 lines)
Lines 161-166 __PAZPAR2_TOGGLE_XML_POST__ Link Here
161
 <plack_max_requests>50</plack_max_requests>
161
 <plack_max_requests>50</plack_max_requests>
162
 <plack_workers>2</plack_workers>
162
 <plack_workers>2</plack_workers>
163
163
164
 <!-- Configuration for X-Forwarded-For -->
165
 <!--
166
 <koha_trusted_proxies>1.2.3.4 2.3.4.5 3.4.5.6</koha_trusted_proxies>
167
 -->
168
164
 <!-- Elasticsearch Configuration -->
169
 <!-- Elasticsearch Configuration -->
165
 <elasticsearch>
170
 <elasticsearch>
166
     <server>localhost:9200</server>
171
     <server>localhost:9200</server>
167
- 

Return to bug 23068