WebFaction
Community site: login faq

Is it possible to add more types for static-only nginx to gzip, or should I use Apache for these static files?

image/svg+xml font/truetype font/opentype font/eot application/vnd.ms-fontobject
(.svg .ttf .eot .woff)

asked 05 Jul '13, 00:09

lormus
313
accept rate: 0%


It's not possible to directly add more types for a Static-Only Nginx application, but if you have some suggestions, you can open a support ticket requesting their addition and we can consider it.

You can also run a private Nginx or Apache server under a Custom Application (listening on port). As the cost to proxy from the front-end Nginx server to your private Nginx server (via proxy_pass) is relatively inexpensive in terms of response time and server resources, it's viable to run a private Nginx or Apache server and configure it for static media as you please. All else equal, we would recommend Nginx.

Hope that helps!

permanent link

answered 05 Jul '13, 01:49

ryans ♦♦
5.0k103860
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×125
×14

question asked: 05 Jul '13, 00:09

question was seen: 8,673 times

last updated: 05 Jul '13, 01:49

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM