mirror of
https://gitlab.com/oecis/charts.git
synced 2024-11-15 00:28:59 +00:00
28 lines
530 B
YAML
28 lines
530 B
YAML
|
kind: ConfigMap
|
||
|
apiVersion: v1
|
||
|
metadata:
|
||
|
labels:
|
||
|
{{- include "tandoor.labels" . | nindent 4 }}
|
||
|
name: tandoor-nginx-config
|
||
|
data:
|
||
|
nginx-config: |-
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
http {
|
||
|
include mime.types;
|
||
|
server {
|
||
|
listen 80;
|
||
|
server_name _;
|
||
|
client_max_body_size 16M;
|
||
|
# serve static files
|
||
|
location /static/ {
|
||
|
alias /static/;
|
||
|
}
|
||
|
# serve media files
|
||
|
location /media/ {
|
||
|
alias /media/;
|
||
|
}
|
||
|
}
|
||
|
}
|