mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
commit
10036d2d9f
1 changed files with 6 additions and 0 deletions
|
@ -1,10 +1,16 @@
|
|||
location / {
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_pass http://127.0.0.1:__PORT__/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_ignore_client_abort on;
|
||||
client_max_body_size 200M;
|
||||
|
||||
# forward headers
|
||||
proxy_buffering off;
|
||||
|
|
Loading…
Add table
Reference in a new issue