diff options
Diffstat (limited to 'csit.infra.dash/nginx/conf.d/default.conf')
-rw-r--r-- | csit.infra.dash/nginx/conf.d/default.conf | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/csit.infra.dash/nginx/conf.d/default.conf b/csit.infra.dash/nginx/conf.d/default.conf deleted file mode 100644 index 3670c1f548..0000000000 --- a/csit.infra.dash/nginx/conf.d/default.conf +++ /dev/null @@ -1,33 +0,0 @@ -upstream minio { - server minio:9000; -} - -server_names_hash_bucket_size 512; - -server { - listen 80; - listen 443 ssl; - - ssl_certificate /etc/nginx/certs/subdomains.amazonaws.com.crt; - ssl_certificate_key /etc/nginx/certs/subdomains.amazonaws.com.key; - - server_name ~^(?<bucketname>.+)\.s3\.amazonaws\.com$; - - location / { - proxy_pass http://minio/$bucketname/$request_uri; - } -} - -server { - listen 80; - listen 443 ssl default_server; - - ssl_certificate /etc/nginx/certs/subdomains.amazonaws.com.crt; - ssl_certificate_key /etc/nginx/certs/subdomains.amazonaws.com.key; - - server_name _; - - location / { - proxy_pass http://minio; - } -}
\ No newline at end of file |