summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc/stream-site-cm.yml
blob: 2cecc8dd4cec08e8d65bb1026960519860dce84d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: v1
kind: ConfigMap
metadata:
  namespace: emc
  name: stream-site-public
  labels:
    app: nginx
    type: stream-site
    tier: live
    stream: public
data:
  nginx.conf: |
    worker_processes 4;
    pid /srv/nginx.pid;
    error_log /dev/stderr notice;

    events {
      worker_connections 768;
      # multi_accept on;
    }

    http {
      sendfile on;
      tcp_nopush on;
      tcp_nodelay on;
      keepalive_timeout 65;
      types_hash_max_size 2048;

      server_names_hash_bucket_size 64;

      include /etc/nginx/mime.types;
      default_type application/octet-stream;

      access_log /dev/null;

      server {
        listen 8080 default_server;
        listen [::]:8080 default_server;

        server_name _;

        root /srv/www;
      }
    }