1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-29 10:46:16 +00:00
kopano-docker/repoproxy/default.conf
2018-06-23 00:12:08 +02:00

24 lines
537 B
Plaintext

server {
listen 80;
server_name _;
#charset koi8-r;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
location / {
proxy_pass ${KOPANO_REPOSITORY_BASE_URL};
proxy_set_header Authorization "Basic ${B64_CREDS}";
}
}