Commit f440080c authored by Yuri Aksenov's avatar Yuri Aksenov

Initial commit

parents
all:
rm /etc/nginx/nginx.conf
install -v -Dm644 failoverProxy.conf /etc/nginx/failoverProxy.conf
install -v -Dm644 nginx.conf /etc/nginx/nginx.conf
location / {
proxy_intercept_errors on;
proxy_pass http://rgw.ceph.iszf.irk.ru;
error_page 403 404 = @fallback;
}
location @fallback {
proxy_pass http://rgw.ceph.badary.iszf.irk.ru;
}
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
recursive_error_pages on;
include failoverProxy.conf;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment