Налаштування varnish cache magento 2 nginx
потрібно налаштувати varnish cache для nginx+magento 2
на сервері знаходяться multiple domains: dev-1, dev-x + react app
ubuntu 20.04
varnish-6.2.1
nginx/1.18.0
php7.4
m2.4.5
varnishlog
* << Request >> 65543
- Begin req 65540 rxreq
- Timestamp Start: 1707940991.826304 0.000000 0.000000
- Timestamp Req: 1707940991.826304 0.000000 0.000000
- VCL_use boot
- ReqStart 90.220.150.194 59483 a0
- ReqMethod GET
- ReqURL /favicon.ico
- ReqProtocol HTTP/1.1
- ReqHeader Host: dev-x
- ReqHeader Connection: keep-alive
- ReqHeader User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
- ReqHeader Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- ReqHeader Referer: http://dev-x/
- ReqHeader Accept-Encoding: gzip, deflate
- ReqHeader Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
- ReqHeader Cookie: sc=ECA62BA5-7986-36D8-AFBA-84DA22758890; _fbp=fb.2.1688507435911.52144711; _tt_enable_cookie=1; _ttp=9dTL75wgmu_TaFolqPR-4vjQwXA; _ga_JR0SDLK59D=GS1.1.1689024183.2.1.1689025576.0.0.0; s_fid=65C43C7BBE13C897-2177D09BDAF97914; apt.uid=AP-XD7ZED5OKD
- ReqHeader X-Forwarded-For: 90.220.150.194
- VCL_call RECV
- ReqHeader grace: none
- ReqURL /favicon.ico
- ReqUnset Accept-Encoding: gzip, deflate
- ReqHeader Accept-Encoding: gzip
- VCL_return hash
- VCL_call HASH
- VCL_return lookup
- VCL_call MISS
- VCL_return fetch
- Link bereq 65544 fetch
- Timestamp Fetch: 1707940991.826489 0.000185 0.000185
- RespProtocol HTTP/1.1
- RespStatus 503
- RespReason Backend fetch failed
- RespHeader Date: Wed, 14 Feb 2024 20:03:11 GMT
- RespHeader Server: Varnish
- RespHeader content-type: text/html; charset=utf-8
- RespHeader Retry-After: 5
- RespHeader X-Varnish: 65543
- RespHeader Age: 0
- RespHeader Via: 1.1 varnish (Varnish/6.2)
- VCL_call DELIVER
- RespHeader X-Magento-Cache-Debug: MISS
- RespHeader Pragma: no-cache
- RespHeader Expires: -1
- RespHeader Cache-Control: no-store, no-cache, must-revalidate, max-age=0
- RespUnset Age: 0
- RespUnset Server: Varnish
- RespUnset X-Varnish: 65543
- RespUnset Via: 1.1 varnish (Varnish/6.2)
- VCL_return deliver
- Timestamp Process: 1707940991.826502 0.000198 0.000013
- Filters
- RespHeader Content-Length: 282
- RespHeader Connection: keep-alive
- Timestamp Resp: 1707940991.826518 0.000214 0.000016
- ReqAcct 1145 0 1145 298 282 580
- End
* << Session >> 16
- Begin sess 0 HTTP/1
- SessOpen 90.220.150.194 59482 a0 54.39.18.164 80 1707940991.717022 22
- SessClose RX_TIMEOUT 5.052
- End
* << Session >> 65540
- Begin sess 0 HTTP/1
- SessOpen 90.220.150.194 59483 a0 54.39.18.164 80 1707940991.712121 21
- Link req 65541 rxreq
- Link req 65543 rxreq
- SessClose RX_TIMEOUT 5.165
- End
Current freelance projects in the category DevOps
Integration of Google Analytics into CRM via n8nGood day, I need help connecting Google Analytics and CRM through n8n. All settings on the CRM side are done. Now we just need to set up the analytics through n8n to transmit sales events. DevOps, System & Network Administration ∙ 3 days 9 hours back ∙ 18 proposals |
Setting up a backup system and optimizing server infrastructureObjective of the work: Ensure reliable data storage for the CRM system and application by implementing an automated backup system, as well as carry out a series of server improvements to enhance the stability, security, and performance of the infrastructure. DevOps, Databases & SQL ∙ 12 days 4 hours back ∙ 29 proposals |