Create LXC Container as usual, but do not start it yet.
# Install NFS-Kernel on Host
apt install nfs-kernel-server
# /etc/nginx/sites-enabled/site-domain | |
upstream backend { | |
server 127.0.0.1:7777 weight=100 max_fails=5 fail_timeout=5; | |
server 127.0.0.1:7778 weight=100 max_fails=5 fail_timeout=5; | |
} | |
server { | |
listen 80; | |
server_name www.xxx.com; | |
return 301 http://xxx.com$request_uri; |
{ | |
"mappings": { | |
"_default_": { | |
"_all": { | |
"enabled": true, | |
"norms": { | |
"enabled": false | |
} | |
}, | |
"dynamic_templates": [ |
layout : tutorials title : SEO 제대로 처리하기 category : tutorials subcategory : data-binding summary : facebook/google 등 SEO들이 원하는 부분을 서버사이드 렌더링 없이 필요한 부분만 WebApp package를 사용하여 효율적으로 구현한다. permalink : /tutorials/core_meteor/1_meteor_seo title_background_color : RGB(8, 78, 119) tags : javascript meteor SEO author : Lee jae ho
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
<?php | |
/* | |
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
Author: _ck_ (with contributions by GK, stasilok) | |
Version: 0.1.7 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.1.7 2015-09-01 regex fix for PHP7 phpinfo | |
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter |
# VCL configuration file for Varnish | |
# Define which IP addresses or hosts have access to files that are | |
# blocked from the public internet | |
acl internal { | |
"localhost"; | |
} | |
# Define origin servers | |
backend web { .host = "1.2.3.4"; .port = "80"; } |