comaha

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2015 License: Apache-2.0 Imports: 23 Imported by: 0

README

Comaha update server for coreos

DISCLAIMER: "COREOS" is a trademark of CoreOS, Inc.

Nginx reverse proxy config

Endpoints

Basically, the following endpoints need to be proxied for proper operation:

  • /file
  • /update
  • /panel
Headers

Set the following headers for /update endpoint:

proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host:$server_port;

It will enable assembling proper URLs for local file storage.

Set this for all endpoints to enable proper remote address logging:

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL