Commit 8fc332d 1 parent 51dc139 commit 8fc332d Copy full SHA for 8fc332d
File tree 1 file changed +2
-15
lines changed
1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -12,29 +12,16 @@ http {
12
12
13
13
sendfile on ;
14
14
keepalive_timeout 65 ;
15
- gzip on ;
16
- gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
17
- gzip_min_length 256 ;
18
15
19
16
server {
20
17
listen 80 ;
21
- server_name heartlink.slghive.fr;
22
-
18
+ server_name heartlink.slghive.fr;
19
+
23
20
location / {
24
21
root /usr/share/nginx/html;
25
22
index index.html index.htm;
26
23
try_files $uri $uri / /index.html;
27
- }
28
-
29
- location ~* \.(?:manifest|appcache|html?|xml|json)$ {
30
- expires -1;
31
- # access_log logs/static.log; # Uncomment if you want to log static file access
32
- }
33
24
34
- location ~* \.(?:css|js|woff2?|ttf|otf|eot|ico|svg|gif|jpe?g|png)$ {
35
- expires 1y;
36
- access_log off ;
37
- add_header Cache-Control "public" ;
38
25
}
39
26
40
27
error_page 500 502 503 504 /50x.html;
You can’t perform that action at this time.
0 commit comments