注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Package talk:Nginx
Revision as of 07:29, December 19, 2014 by Threesixes (talk | contribs)
things i would like to know:
- vhosts (with subdomain examples)
- ssl
- ssl termination for varnish + x forward for settings so web apps produce clients ip addys instead of 127.0.0.1
- email, pop3 + smtp + imap
- probably wsgi for python peoples
- cgi for perl zombies
change the webrick line to include 'or puma' on port 3k.... and point to Package:Ruby#puma
- explore the webapp firewall security flag:: nginx_modules_http_security
- explore geoip:: nginx_modules_http_geoip
- explore fancy index: nginx_modules_http_fancyindex
Threesixes (talk) 22:33, October 23, 2014 (UTC)
add expires headers for caching static content:
/etc/nginx/sites-enabled/localhost
expires 24h;
...
add cache control headers: /etc/nginx/sites-enabled/localhost add_header Cache-Control "public"; ... Threesixes (talk)