moved section
This commit is contained in:
parent
c6241441bd
commit
58766c810a
@ -1,9 +1,3 @@
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name localhost;
|
||||
|
||||
# Check if client is capable of handling webp
|
||||
map $http_accept $webp_suffix {
|
||||
default "";
|
||||
@ -15,6 +9,11 @@ server {
|
||||
~*^/(images)/(.+)\.(jpe?g|png)$ /$1/$2;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name localhost;
|
||||
|
||||
location ~* ^/.+\.(jpg|jpeg|png)$ {
|
||||
root /usr/share/nginx/html;
|
||||
# BEGIN Browser Caching of WebP
|
||||
|
Loading…
x
Reference in New Issue
Block a user