Skip to content

Instantly share code, notes, and snippets.

@wido
Created August 26, 2015 09:42
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save wido/5668e00695662e6562d8 to your computer and use it in GitHub Desktop.
Save wido/5668e00695662e6562d8 to your computer and use it in GitHub Desktop.
Nginx proxy for Ceph RADOS Gateway with Civetweb
server {
listen 80;
listen [::]:80;
server_name localhost;
client_max_body_size 0;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
location / {
proxy_pass http://localhost:7480;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment