Commit d86d6573 authored by nono's avatar nono 💻
Browse files

Mise à jour de test pour le site de don

parent ce8de441
......@@ -52,7 +52,7 @@ php_upload_max_filesize: "256M"
php_fpm_pools:
- pool_name: don
pool_template: www.conf.j2
pool_listen: "127.0.0.1:9000"
pool_listen: "127.0.0.1:8000"
pool_listen_allowed_clients: "127.0.0.1"
pool_pm: dynamic
pool_pm_max_children: 5
......@@ -81,28 +81,42 @@ nginx_vhosts:
access_log: "/var/log/nginx/{{ don_domaine }}_access.log"
error_log: "/var/log/nginx/{{ don_domaine }}_error.log"
state: "present"
root: "/home/don/don/www"
template: "{{ nginx_vhost_template }}"
filename: "{{ don_domaine }}.https.conf"
index: "index.php index.html"
extra_parameters: |
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location / {
proxy_buffering off;
proxy_set_header Referer $http_referer;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_pass http://127.0.0.1:9000;
proxy_redirect off;
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
}
location /.well-known/acme-challenge {
alias /var/www/letsencrypt/.well-known/acme-challenge;
}
location ~ \.php$ {
#NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
include /etc/nginx/fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_read_timeout 300;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}
ssl_certificate /etc/letsencrypt/live/{{ don_domaine }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ don_domaine }}/privkey.pem;
ssl_protocols TLSv1.1 TLSv1.2;
......
$ANSIBLE_VAULT;1.1;AES256
34366635303438613731663735623765313766656637376166353562313034383738313361656366
3233396463306432303934366634363164623035626263640a396336633734623631633232323331
33336430323932346463363830643139653539393835643534393132316564383161613265376166
3062336632346633320a653766363435663430633939356537643563353034663639653662353932
36623264656662363863613961636363303736326634623334663630646232396462626538343136
36386365313966363331326262313034643133613266313133663335363738396461323865633037
64633665363637343739666632363339623134616431313562376263633533383537323837663766
39636230303666323335363265383236393736373139643262333735363936643330353561363466
63343230316462306537636264623339623235666232343762383739643135386539383338656366
61373134383034323061653531643930313732303431636234653466353938366138656562663939
39336331623933666632396333393566623763313732376536313161643536623932373461633763
33363030623230313766623961336131623030616362363464386462666438366637633934343865
64333133623037333265363335633464626263366161313762386662383534323034663737616237
30343131373238616431646632393734393738396665343262326533373739376462323937616239
61313565313038623763303538646236356661643833303966393038333932656263373238353238
32343530663736393836393166396634663530366166656563616536643835663234393532613762
62636630333663626134396537636639373663303062353835316366663435653332663534616632
62346461333963646137373164653733333166336366653661343562343335313965646661313436
64306261396332316336366435393963663635616464316238343737323065323461656135636262
64336432336463353064653338626133633037323439373435646235326361646232306638373435
35333536316261393837653132383764363231303762363066313934613532656330343536303563
64646266383130353961383633396536313131663163393664656530333732363936323539613833
30303764363132653136613835323932333334353837306666353833373463616361623561366132
32383862613130303331343234323563306631383963623563643437326536333964643537336361
39623832313964373062363638373262396161643234373639393264323732613861626134333632
32656231316633643464303863633962303638613936303365313962383131326664356535313730
66346661306236316332343335363136643538343963656665353231363835653366653763356132
39633464353762376337326237653133326336383438356232663438626563346333353634323432
62306561336538353638393762343637356433366166636233393232343430633736393731616530
33346638383563366531333036313964313136373835653139353533303139653864626138356461
38666338316235353334303333333938376638373162636636333231326161343735363738626163
38333134373133316632363537323936656233663339646236626661313939353763393265386638
62393632343962386339323437373062653462303566623337346134336336656463333937633734
63396435383531343730393261393731653934393264663962313265616238333731336135623666
39346533383030336330313333363835646332623063393639656134333736643331363938353838
31613637666332383166366466616163323163393463623362646164653636363630643831343663
31363035653433396265383836346336636533376161663562653361376565396164356138366262
39343534303464316562643430306562613562636638663761396631643430356463616237376635
33653237366166323837616266616230346164313738636464626530313964323966333966653930
65636262313664383366326138663530633536636263633864316664616337343238363061353965
33613363343333333863666663366337656566633939303038656464633961666238383236333536
35353265613136636465346666336237323832376536333630353564323634346562373330326435
39666432636566646266646163653732396162353437353231346465636239353165376566303832
32363735363838333531393664363262643231393964363530393035613333386536613064656161
30616162636539396338623637643962373562383738613030633032626264376135633338613035
63653338636234663431656337623331356135336131316338666333333666346530393536383737
31653135343062323837633566633335383066393638336164386265653637336137396166666237
35363430663232306261616432656631326462363932663435623265666139306161626433346239
66303337633764626362326663336235326339306561623038666565363364333766663866613835
6364383830326266323163336432643734356366653234316538
38623164303836363432653836343237613335653733373933666230633936353238393361666232
3334326461336366663561653638376561626466326334620a306562306433373363633864353435
64646330633335613232653031663465343937626239366633613266353664643663353238633964
6538613038333736300a663262636534626239643530656266343836363739376366636164633231
31636339356330333364663435363530343035303438386339373531343331636662666465353431
38623737656334343965313634376435336233333261316163653631316133303165376432353036
35353165663432363930346266653430663330303064356266383230333430396266343464306162
62666235393734663933396464306230663034656166343961643730383131623333376334333734
37366236323536363130643931313937636635353432633437613165616333633433613265376230
31393137366132393264383736316362663234393465303236373230623838303366353661303136
35303837343563393135653961633734303337386538666366663039343335616537343133613733
36626566636634306162626261323134616365323335643263663964646638336362363062653264
61353763636330393861303863356566643930646131303861386565323364613362626564653739
37663639653865656239386130326237623137663163633636353131333466353632366437386637
66613761383536306265393036383866613432343462656161366234323636366437616630363766
33376432363038653639633065636161616338383330653631633263623839646665646436336337
35653237336562643763373636346332396331643664613430376538616664643735376161616131
39376666363236383739323137303364353632383938653165396366333865616264656163613334
31303764633661393165303863346562303263383431393465343362643131333966313566383936
37626438326135643062313062616564393262666536343764313433313433643931366234303536
63663864373430646136303538313664343162313663636136353836376636313933396361666135
31393966613938323563353363653162336165656663613133303935393231393834383434393334
62353630343239376639636164306136383835633134363835383734613837646164323236653366
35616366653732646636366530336331623835356463666531383564653663623431386563373262
36353938666664643963373830393562623463323161353062663835653637366136333335303862
38353066653664633632323261626235633932643730313133306633633664323637323831356331
35323166313839373765643962376537373565646231656132636264643139623664363064316564
37643838313066643035643432373961636635336662346433613431396330303730666433663338
63303565363831613263346266343865323865643564376537633732363835626539383464363736
64663632316665616636303035376535346162356331363733353636323266353336616630393062
36303535356466383761353431663262393430313964336238376663663233626463386161316363
39666235316366336431316564343832393461376633373933366566303862373430653162303463
65616535326336376363366639393530313532313464333838353563623930616263386663363333
30313866643838313637656165653765353866353866323232366437363263633938386166613130
32303531303236363065323236306561363364633036613030333935353563666261633166343866
30333937393833326533323330393063323964313434656139636536613836366633346439363262
34376331393237383866356137623763316164343863366334663836666638376461376561616566
65323530303933393532353137396566346336613066353063623066613631366332623662633062
31313233653838626432383266323232393437623062313238316632393865623961313464363333
39653535343339663636653161343834643331356537643163656666376136353963626265373661
64326139393633336636393364643462376563396561656335663764313536363262336461333037
33383761333331303737323832353334393531666537373062313037633864376565363261653965
38633533396635373936636630336536643565326335626130343335373065643036346433643037
64663135363735386365633634333762663264643863636238323838396266366636656664336335
62383637623433363161623930353662643865363766363937623361623136386363366562326439
32313562633332346566373030656464366564333135336165393435306163323539653236616363
33353264336431616434666533616536333132366662373636636133303830383733333333343837
63636461316639333032633864356636363934393164333861336132666162626632323663656334
38643839363437313366353561323132666436353332383538373634363030323337376335323262
3363633134653336383033353466626266313239353565353165
Subproject commit 161480da8c0a8a83c5dd19f00c7a98259be10aba
Subproject commit 76b738fd303ac40127259e88d9f0fd0785c535a3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment