+ grav, s3, wordpress & yii nginx example configs
This commit is contained in:
19
config/nginx/conf.d/z-s3.conf.example
Normal file
19
config/nginx/conf.d/z-s3.conf.example
Normal file
@ -0,0 +1,19 @@
|
||||
server {
|
||||
server_name s3.local;
|
||||
ignore_invalid_headers off;
|
||||
client_max_body_size 0;
|
||||
proxy_buffering off;
|
||||
location / {
|
||||
proxy_pass http://minio:9000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_connect_timeout 300;
|
||||
# Default is HTTP/1, keepalive is only enabled in HTTP/1.1
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
chunked_transfer_encoding off;
|
||||
}
|
||||
|
||||
listen 80;
|
||||
}
|
Reference in New Issue
Block a user