Bug 35389: (QA follow-up) Update circ-nav too
[koha.git] / etc / nginx.conf
1 # This config file assume you are using starman with the app.psgi that can be
2 # found in the root directory of Koha, and that it listens on ports 5000-5001
3
4 upstream intranet {
5     server 127.0.0.1:5000;
6 }
7 upstream opac {
8     server 127.0.0.1:5001;
9 }
10
11 server {
12     listen 80;
13     listen [::]:80;
14
15     server_name intranet.koha-dev; # CHANGEME
16
17     location / {
18         include proxy_params;
19         proxy_pass http://intranet;
20
21     # provide room for the Link headers emitted
22     # by REST API methods when doing pagination
23     proxy_buffer_size 16k;
24     }
25 }
26
27 server {
28     listen 80;
29     listen [::]:80;
30
31     server_name opac.koha-dev; # CHANGEME
32
33     location / {
34         include proxy_params;
35         proxy_pass http://opac;
36
37     # provide room for the Link headers emitted
38     # by REST API methods when doing pagination
39     proxy_buffer_size 16k;
40     }
41 }