]> git.mxchange.org Git - friendica.git/blobdiff - mods/sample-nginx.config
Merge pull request #788 from annando/master
[friendica.git] / mods / sample-nginx.config
index 2383b6a447db51080f0b7072bab288e755484617..b99fafa80cde915dbf131edcecf1517f9aea4113 100644 (file)
@@ -2,7 +2,7 @@
 # Friendica Nginx configuration
 # by Olaf Conradi
 #
-# On debian based distributions you can add this file to
+# On Debian based distributions you can add this file to
 # /etc/nginx/sites-available
 #
 # Then customize to your needs. To enable the configuration
@@ -21,7 +21,7 @@
 
 ##
 # This configuration assumes your domain is example.net
-# You have a seperate subdomain friendica.example.net
+# You have a separate subdomain friendica.example.net
 # You want all friendica traffic to be https
 # You have an SSL certificate and key for your subdomain
 # You have PHP FastCGI Process Manager (php5-fpm) running on localhost
@@ -79,7 +79,7 @@ server {
   # otherwise fall back to front controller
   # allow browser to cache them
   # added .htm for advanced source code editor library
-  location ~* \.(jpg|jpeg|gif|png|css|js|htm|html)$ {
+  location ~* \.(jpg|jpeg|gif|png|ico|css|js|htm|html|ttf|svg)$ {
     expires 30d;
     try_files $uri /index.php?q=$uri&$args;
   }