Advertise on Site! You can Advertise on our site. Find out More

Nginx Archive

Image upload issue in wordpressmu with nginx

I sovled the issue with WordprssMU and Images. you can use following code. Please Use the following code; location ~ ^.+\.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$ { root /usr/share/nginx/html/wordpressmu; rewrite ^/.*(/wp-admin/.*\.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js))$ $1 last; Read More