Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change update example to use a trivial webserver instead of nginx (issue... #2320

Merged
merged 1 commit into from
Nov 12, 2014
Merged

Conversation

davidopp
Copy link
Member

... #1803).

davidopp added a commit that referenced this pull request Nov 12, 2014
Change update example to use a trivial webserver instead of nginx (issue...
@davidopp davidopp merged commit 004bc49 into kubernetes:master Nov 12, 2014
fs := http.StripPrefix("/", http.FileServer(http.Dir("/")))

http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "private")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Maybe add a comment saying why these headers are needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants