Appendix |
/opt/aspera/shares/etc/my.cnf.setup
[client] user = root password = aspera host = 127.0.0.1 port = 4406
/opt/aspera/shares/u/setup/bin/install
asctl apache:stop
/opt/aspera/shares/etc/nginx/conf.d/console_cluster.conf
upstream console_cluster { server 127.0.0.1:3500; server 127.0.0.1:3501; server 127.0.0.1:3502; server 127.0.0.1:3503; }
/opt/aspera/shares/etc/nginx/locations-enabled/console
location = /aspera/console { return 301 $scheme://$host$uri/$is_args$args; } location ^~ /aspera/console/ { alias /opt/aspera/console/public/; expires 1d; try_files $uri @console_cluster; } location @console_cluster { proxy_pass http://console_cluster; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Real-IP $remote_addr; }
service aspera-shares restart