We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8562e4 commit deefdffCopy full SHA for deefdff
iot-dashboard/nginx.conf
@@ -0,0 +1,17 @@
1
+server {
2
+ listen 80;
3
+
4
+ root /usr/share/nginx/html;
5
+ index index.html;
6
7
+ location / {
8
+ try_files $uri /index.html;
9
+ }
10
11
+ location ~* \.(?:ico|css|js|gif|jpe?g|png|woff2?|ttf|svg|eot)$ {
12
+ expires 6M;:q
13
14
+ access_log off;
15
+ add_header Cache-Control "public";
16
17
+}
0 commit comments