# 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
##
# 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
# 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;
}