-
Posts
310 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by maddog107_merged
-
-
18 hours ago, Foxy420 said:
I keep trying to follow your guy but after setting things up I keep getting a 500 error as im trying to set this up with PHP 7 - is there anything that needs to be done for that version because PHP isn't even running as a service
is php-fpm running?
-
Thanks for the guide. I used it and had one issue. For this part of the /etc/nginx/nginx.conf
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
you need to add
application/javascript
as well. Otherwise some of the JS elements in IPB wont compress (and google pagespeed analyzer will complain).
e.g.
$ curl -H "Accept-Encoding: gzip" -I https://www.example.com/uploads/javascript_global/root_framework.js.20da77cb1214419f844616d0b36c0ee4.js HTTP/1.1 200 OK Server: nginx/1.11.4 Date: Wed, 05 Oct 2016 21:33:25 GMT Content-Type: application/javascript Content-Length: 331572 Last-Modified: Wed, 05 Oct 2016 04:37:47 GMT Connection: keep-alive ETag: "57f4839b-50f34" Strict-Transport-Security: max-age=31536000; includeSubdomains; X-Content-Type-Options: nosniff Accept-Ranges: bytes
^ didnt compress the application/javascript.
-
Thanks, great stuff.
Topic Thumbnail for IPS4.x
in Marketplace
Posted
@onlyME is there a way to not crop the thumbnail? I would like it to keep the original ratio of the image so the thumb should set one side to 60px (whichever is larger) so aspect ratio remains the same.
Let me know, thanks.