Skip to content

Commit 8fc332d

Browse files
committed
fix
1 parent 51dc139 commit 8fc332d

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

nginx.conf

+2-15
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,16 @@ http {
1212

1313
sendfile on;
1414
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;
1815

1916
server {
2017
listen 80;
21-
server_name heartlink.slghive.fr;
22-
18+
server_name heartlink.slghive.fr;
19+
2320
location / {
2421
root /usr/share/nginx/html;
2522
index index.html index.htm;
2623
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-
}
3324

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";
3825
}
3926

4027
error_page 500 502 503 504 /50x.html;

0 commit comments

Comments
 (0)