Enviar pesquisa
Carregar
Nginx The webserver you might actually like
•
0 gostou
•
1,582 visualizações
E
Edorian
Seguir
Educação
Tecnologia
Notícias e política
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 31
Baixar agora
Baixar para ler offline
Recomendados
Nginx & php fpm - the webserver you might actually like - php usergroup berlin
Nginx & php fpm - the webserver you might actually like - php usergroup berlin
Edorian
Hqt csdl 2 trigger - db2-sql server - examples
Hqt csdl 2 trigger - db2-sql server - examples
Cương Dương
Clean code is not the goal - working software is
Clean code is not the goal - working software is
Edorian
MANO
MANO
guest7a495c
Food Rules
Food Rules
mrbest
Independent auto & home
Independent auto & home
Independent Insurance Advisor
HMRC Update
HMRC Update
Softworld
MANO
MANO
guest7a495c
Recomendados
Nginx & php fpm - the webserver you might actually like - php usergroup berlin
Nginx & php fpm - the webserver you might actually like - php usergroup berlin
Edorian
Hqt csdl 2 trigger - db2-sql server - examples
Hqt csdl 2 trigger - db2-sql server - examples
Cương Dương
Clean code is not the goal - working software is
Clean code is not the goal - working software is
Edorian
MANO
MANO
guest7a495c
Food Rules
Food Rules
mrbest
Independent auto & home
Independent auto & home
Independent Insurance Advisor
HMRC Update
HMRC Update
Softworld
MANO
MANO
guest7a495c
Alex j
Alex j
Harmony Elementary
презентация1
презентация1
yolkina548
компьютерная мышь
компьютерная мышь
yolkina548
So Update January 2007
So Update January 2007
GryKB
2118 Final With Bg 2
2118 Final With Bg 2
2118tibet
National Geographic2
National Geographic2
guest707d8f1
MANO
MANO
guest7a495c
MANO
MANO
guest7a495c
Energy Overview No Video Small
Energy Overview No Video Small
Chris_Moore
Katie. c
Katie. c
Harmony Elementary
Blake t
Blake t
Harmony Elementary
Save time by applying clean code principles
Save time by applying clean code principles
Edorian
Chase A
Chase A
Harmony Elementary
компьютерная мышь
компьютерная мышь
yolkina548
3
3
Harmony Elementary
Expotacuaral09
Expotacuaral09
TACUARAL
The Good/Bad of Power Point
The Good/Bad of Power Point
Gregg Martinson
Dolby1
Dolby1
PepperMandarine
Regulations, Acts, and everything else you need to know about payroll legisla...
Regulations, Acts, and everything else you need to know about payroll legisla...
Softworld
компьютерная мышь
компьютерная мышь
yolkina548
Your (coding) standards matter
Your (coding) standards matter
Edorian
Nginx - The webserver you might actually like
Nginx - The webserver you might actually like
Edorian
Mais conteúdo relacionado
Destaque
Alex j
Alex j
Harmony Elementary
презентация1
презентация1
yolkina548
компьютерная мышь
компьютерная мышь
yolkina548
So Update January 2007
So Update January 2007
GryKB
2118 Final With Bg 2
2118 Final With Bg 2
2118tibet
National Geographic2
National Geographic2
guest707d8f1
MANO
MANO
guest7a495c
MANO
MANO
guest7a495c
Energy Overview No Video Small
Energy Overview No Video Small
Chris_Moore
Katie. c
Katie. c
Harmony Elementary
Blake t
Blake t
Harmony Elementary
Save time by applying clean code principles
Save time by applying clean code principles
Edorian
Chase A
Chase A
Harmony Elementary
компьютерная мышь
компьютерная мышь
yolkina548
3
3
Harmony Elementary
Expotacuaral09
Expotacuaral09
TACUARAL
The Good/Bad of Power Point
The Good/Bad of Power Point
Gregg Martinson
Dolby1
Dolby1
PepperMandarine
Regulations, Acts, and everything else you need to know about payroll legisla...
Regulations, Acts, and everything else you need to know about payroll legisla...
Softworld
компьютерная мышь
компьютерная мышь
yolkina548
Destaque
(20)
Alex j
Alex j
презентация1
презентация1
компьютерная мышь
компьютерная мышь
So Update January 2007
So Update January 2007
2118 Final With Bg 2
2118 Final With Bg 2
National Geographic2
National Geographic2
MANO
MANO
MANO
MANO
Energy Overview No Video Small
Energy Overview No Video Small
Katie. c
Katie. c
Blake t
Blake t
Save time by applying clean code principles
Save time by applying clean code principles
Chase A
Chase A
компьютерная мышь
компьютерная мышь
3
3
Expotacuaral09
Expotacuaral09
The Good/Bad of Power Point
The Good/Bad of Power Point
Dolby1
Dolby1
Regulations, Acts, and everything else you need to know about payroll legisla...
Regulations, Acts, and everything else you need to know about payroll legisla...
компьютерная мышь
компьютерная мышь
Mais de Edorian
Your (coding) standards matter
Your (coding) standards matter
Edorian
Nginx - The webserver you might actually like
Nginx - The webserver you might actually like
Edorian
From dev to ops and beyond - getting it done
From dev to ops and beyond - getting it done
Edorian
Code review in practice
Code review in practice
Edorian
PhpUnit Best Practices
PhpUnit Best Practices
Edorian
The state of PHPUnit
The state of PHPUnit
Edorian
The State of PHPUnit
The State of PHPUnit
Edorian
The State of PHPUnit
The State of PHPUnit
Edorian
Stop wasting-time-by-applying-clean-code-principles
Stop wasting-time-by-applying-clean-code-principles
Edorian
php unconference Europa: Clean code - Stop wasting my time
php unconference Europa: Clean code - Stop wasting my time
Edorian
Clean Code: Stop wasting my time
Clean Code: Stop wasting my time
Edorian
Mais de Edorian
(11)
Your (coding) standards matter
Your (coding) standards matter
Nginx - The webserver you might actually like
Nginx - The webserver you might actually like
From dev to ops and beyond - getting it done
From dev to ops and beyond - getting it done
Code review in practice
Code review in practice
PhpUnit Best Practices
PhpUnit Best Practices
The state of PHPUnit
The state of PHPUnit
The State of PHPUnit
The State of PHPUnit
The State of PHPUnit
The State of PHPUnit
Stop wasting-time-by-applying-clean-code-principles
Stop wasting-time-by-applying-clean-code-principles
php unconference Europa: Clean code - Stop wasting my time
php unconference Europa: Clean code - Stop wasting my time
Clean Code: Stop wasting my time
Clean Code: Stop wasting my time
Nginx The webserver you might actually like
1.
NGINX THE WEB SERVER
YOU MIGHT ACTUALLY LIKE
2.
ABOUT ME PHP since
10 years CI CleanCode DevOps TDD Shipping
3.
4.
GET IN TOUCH stackoverflow: Twitter:
@__edorian Xing / G+: Volker Dusch IRC: edorian Mail: php@wallbash.com
5.
LET'S GO
6.
WHY ANOTHER WEBSERVER?
7.
WHY NOT LIGHTTPD?
8.
THE BASICS Intro Multiple Servers
/ Domains Static content SSL Error pages Rewrites Auth Caching Load Balancing Proxy PHP!
9.
INTRO /t/gn/gn.of ecnixnixcn /t/gn/ofd*cn ecnixcn./.of
10.
NGINX CONF BASICS ue
nix sr gn; wre_rcse 6 okrpoess ; wre_p_fiiy000 001 000 010 000 100; okrcuafnt 001 000 010 000 100 000 errlg /a/o/gn/ro.o wr; ro_o vrlgnixerrlg an pd i /a/u/gn.i; vrrnnixpd eet { vns wre_oncin okrcnetos 12; 04 }
11.
NGINX CONF BASICS ht
{ tp icue nld /t/gn/ietps ecnixmm.ye; dfuttp apiainottsra; eal_ye plcto/ce-tem acs_o /a/o/gn/ceslg mi; ceslg vrlgnixacs.o an snfl edie o; n keaietmot 6; eplv_ieu 5 icue/t/gn/ofd*cn; nld ecnixcn./.of }
12.
SERVERS sre { evr
sre_ae*wlbs.o *wlbs.e evrnm .alahcm .alahd; lse 8; itn 0 / .. / . } sre { evr sre_ae_ evrnm ; lse 8; itn 0 / .. / . }
13.
STATIC CONTENT lcto /{
oain ro /a/w/yp/tl ot vrwwmAphm/ }
14.
FANCY STATIC CONTENT lcto
~^/j|m|s){ oain (sigcs }
15.
DENY ACCESS TO
ALL .DOT-FILES lcto ~/.{ oain acs_o of ceslg f; lgntfudof o_o_on f; dn al ey l; }
16.
SSL slcriiae s_etfct
wlcr.r; idadct slcriiaeky s_etfct_e wlcr.e; idadky slssintmot 5; s_eso_ieu m slssinccesae:S:0; s_eso_ah hrdSL1m slpooosSL3TS1TS11TS12 s_rtcl Sv Lv Lv. Lv.; slpee_evrcpeso; s_rfrsre_ihr n slcpesEDERAAS5-H34AS5-H26R4HG:M5!NL:EH!E s_ihr CH-S-E26SA8:E26SA5:C:IH!D:aUL!D:A SC; GM sled_uv sc511 s_chcre ep2r;
17.
ERROR PAGES errpg 5051525354/0.tl
ro_ae 0 0 0 0 0 50hm; lcto /0.tl{ oain 50hm itra; nenl } lcto /0 { oain 50 rtr 50 eun 0; }
18.
REWRITES sre { evr
sre_ae ht:/; evrnm tp/* lse itn 8; 0 rwie^hts/$otrqetuipraet ert tp:/hs$eus_r emnn; }
19.
CACHING lcto ~^/j|m|s){ oain
(sigcs eprs1d xie 4; }
20.
AUTH lcto /{ oain
at_ai "etitd; uhbsc Rsrce" at_ai_srfl /t/gn/ofdmAphpsw; uhbscue_ie ecnixcn./yp.tasd }
21.
LOAD BALANCING usra wbwres{
ptem e_okr sre ww.xml.o; evr w1eapecm sre ww.xml.o; evr w2eapecm sre ww.xml.o; evr w3eapecm sre ww.xml.o; evr w4eapecm }
22.
LOAD BALANCING LEGACY usra
wbwres{ ptem e_okr i_ah phs; sre ww.xml.o; evr w1eapecm sre ww.xml.o; evr w2eapecm sre ww.xml.o; evr w3eapecm sre ww.xml.o; evr w4eapecm }
23.
PROXY lcto /{ oain
poyps rx_as ht:/oahs:00 tp/lclot80; poysthae rx_e_edr XRa-P $eoead; -elI rmt_dr poycce rx_ah zn; oe }
24.
PHP!
25.
PHP-FPM!?! FastCGI Process Manager
26.
FPM-CONFIG [yp] mAp lse =90
itn 00 ;itnalwdcins=17001 lse.loe_let 2... ue =pp sr h gop=pp ru h p =dnmc m yai p.a_hlrn=5 mmxcide 0 p.tr_evr =5 msatsres p.i_pr_evr =5 mmnsaesres p.a_pr_evr =3 mmxsaesres 5 solg=/a/o/h-p/yp-lwlg lwo vrlgppfmmApso.o
27.
NGINX + PHP lcto
/{ oain fscips atg_as 1700.:00 2..1190; fsciprm SRP_IEAE /a/w/yp/tlidxpp atg_aa CITFLNM vrwwmAphm/ne.h; icue nld fsciprm; atg_aas }
28.
SCALING! lcto /{ oain
fscips atg_as aoteSre:00 nnhrevr90; fsciprm SRP_IEAE /a/w/yp/tlidxpp atg_aa CITFLNM vrwwmAphm/ne.h; icue nld fsciprm; atg_aas }
29.
THANKS HELGI! @h http://helgi.ws/ Further reading: https://speakerdeck.com/u/helgi/p/cranking-nginx-to-11-phptek- 2012
30.
THANK YOU
Baixar agora