hongwei-bai / server-configurations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

server-configurations

nginx

conf.d-https-images

sudo yum install nginx-module-image-filter

  • Important notes a):

load_module modules/ngx_http_image_filter_module.so;

is not a command, but a line to be put onto default.conf

  • Important notes b): In your nginx configurations:

location ~ "^/media/(?(320|240))/(?.+)$" { alias /usr/share/nginx/html/img/$image;

img would not be included in your visit url: Correct url:

https://{domain name}/media/1080/app/nba_v1/banner_lal.jpg

About

License:Apache License 2.0