Nginx configuration
diff --git a/ceph/files/nginx.conf b/ceph/files/nginx.conf
new file mode 100644
index 0000000..7fee2cb
--- /dev/null
+++ b/ceph/files/nginx.conf
@@ -0,0 +1,39 @@
+{%- set site = salt['pillar.get']('nginx:server:site:'+site_name) %}
+{%- from "ceph/map.jinja" import client with context %}
+
+server {
+
+  {%- include "nginx/files/_name.conf" %}
+  {%- include "nginx/files/_log.conf" %}
+  {%- include "nginx/files/_ssl.conf" %}
+
+  client_max_body_size {{ site.client_max_body_size|default('10g') }};
+
+  fastcgi_request_buffering off;
+  fastcgi_buffering off;
+
+  location / {
+    fastcgi_pass_header Authorization;
+    fastcgi_pass_request_headers on;
+
+    if ($request_method = PUT) {
+        rewrite ^ /PUT$request_uri;
+    }
+
+    include fastcgi_params;
+
+    fastcgi_pass unix:/tmp/radosgw.sock;
+  }
+
+  location /PUT/ {
+    internal;
+
+    fastcgi_pass_header Authorization;
+    fastcgi_pass_request_headers on;
+
+    include fastcgi_params;
+    fastcgi_param CONTENT_LENGTH $content_length;
+
+    fastcgi_pass unix:/tmp/radosgw.sock;
+  }
+}