Main Koha release repository
https://koha-community.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
611 B
33 lines
611 B
# This config file assume you are using starman with the app.psgi that can be
|
|
# found in the root directory of Koha, and that it listens on ports 5000-5001
|
|
|
|
upstream intranet {
|
|
server 127.0.0.1:5000;
|
|
}
|
|
upstream opac {
|
|
server 127.0.0.1:5001;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name intranet.koha-dev; # CHANGEME
|
|
|
|
location / {
|
|
include proxy_params;
|
|
proxy_pass http://intranet;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name opac.koha-dev; # CHANGEME
|
|
|
|
location / {
|
|
include proxy_params;
|
|
proxy_pass http://opac;
|
|
}
|
|
}
|
|
|