revert changes
This commit is contained in:
parent
2d2d7fab6f
commit
83cbd2749b
@ -1,9 +1,3 @@
|
||||
map $http_accept $webp_suffix { "~*webp" ".webp"; }
|
||||
types {
|
||||
# ensure the nginx supports the mime type
|
||||
image/webp webp;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
@ -23,9 +17,6 @@ server {
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
location ~* \.(?:png|jpe?g)(\?.+)?$ {
|
||||
try_files $uri$webp_suffix $uri =404;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /404.html {
|
||||
|
Loading…
x
Reference in New Issue
Block a user