We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98efe92 commit a2fccb9Copy full SHA for a2fccb9
charts/adhoc-defaultbackend/v0.1.8/templates/nginx-config.yaml
@@ -0,0 +1,27 @@
1
+apiVersion: v1
2
+kind: ConfigMap
3
+metadata:
4
+ name: {{ include "adhoc-defaultbackend.fullname" . }}-nginx-config
5
+data:
6
+ nginx.conf: |
7
+ events {
8
+ worker_connections 1024;
9
+ }
10
+ http {
11
+ include /etc/nginx/mime.types;
12
+ default_type application/octet-stream;
13
+
14
+ server {
15
+ listen 80;
16
+ server_name _;
17
+ root /usr/share/nginx/html;
18
19
+ location / {
20
+ try_files $uri $uri/ /index.html;
21
22
23
+ location ~ ^/(.*)$ {
24
+ try_files /index.html =404;
25
26
27
0 commit comments