0 5ˆl–Ãa¾” jh¥8 Z¸î41hß�þ\ë8ØdŽ6Ún´çÌ ƒ m7ËÊÉ # !!! Security workaround !!! # Do not set the `Host` header as "$http_host". # # "$http_host" is the Host header exactly as supplied by the client. # This is unsafe when a client sends an absolute-form request target together # with a different Host header, for example: # # GET https://example.com/ HTTP/1.1 # Host: malformedhost # # In such a case, passing "$http_host" upstream exposes the raw client-supplied # Host value ("malformedhost") to the backend application, even though it does # not match the effective request target. Applications often use HTTP_HOST for # redirects, absolute URL generation, virtual host routing, or security checks; # forwarding the raw Host header can therefore lead to incorrect or unsafe # behaviour. # # Newer nginx versions (since 1.30.0) introduce variables "$is_request_port" and # "$request_port", allowing `Host` to be constructed as: # $host$is_request_port$request_port # # In stable/oldstable packages we use "$host" as a security workaround. # It avoids forwarding an untrusted raw Host header to the backend. # # Note: this changes behaviour compared to previous versions, because "$host" # does not preserve the client-supplied port, while "$http_host" typically # does. Existing deployments that rely on "$http_host" containing a port number # may therefore break or behave differently after this change. proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; ˆÆÅË 617ÄÊÉi‹Å–Qo›0Çßû)Àjµ²VK–1Ìo ÑYÚ¥Kj‹i†ý¯ZóO�—pÊÌyZè”û£œñ5’¹ÔJ0înÀd¦@ñœE"åã™´e…RÆ“¡"J¥[u¸!�E¾†L²eÊá9]¤œyP»2ÎaãÝ[Hv_å¼MÆÏ#r5­FfXúžNÐMEœ°–ö=‘ÅH•áƒe®`‘Òü§‹#šêþ>Nè¤zÛ÷(JJ ðÇá`r1ØŸÐŒ{@Û5×Fs‰ý1U™E$ªàvˆokñ­xؽaPk®ÂRZÈüI ±‰ÊTÔ°ö AR6Uµ„ý-4|–ŒÙåÍÕdŒnê”°j‹§èXNìÏhÉs�QòPËò~CY»|Ÿ/Tq±�¢ C)âDc!‚Z•ÿ^'·‰nÒÚ Ý³‰©+©%¡K��‚f†0�°¿ÓÔdy¼k»b»Äé Çí÷NÚEÙ=?%£w„¯u dÓrÆGbäa"[/¿’®×·;{èzG¢‹¹…ÛÂ×0¦~gG"TË…"æ§£yÙ‚ùÒzÖž{$Öea®}N3QÑFû§ý0¼Ý·ç­Až36Öös�Ç!Î9rݾíîùfß²ŽgM†ççr§éÿ߯l!`Ó\yðØÛyP7œ¿óvk‘Ó ˆÆÅË ‚l"ÄÊɋ͔QoÓ0…ß÷+ŒxKnÛ­CÚœ ÑT¢bk«.Bȱ�ÆÌ±#Û¥ë~=NÓmµ^OqnÎu¾s’kò"›�òOó1z›ß\£ùû7דÂÀ‡Ó@–g݃³¸×O1•÷ÍÀz½Ž×§±±KÈPùZ��óV2sÏqzBÚZz‚H%(WD¼ôJ¤ÍÅ=2%³òNrvnV…’ì±ÜԜм”JÄ\Ô&®\ÌŒi‹¸a.rN=µà�Ö5å  _kÃWJ„v¿QBIíAÉì¶V®4óÒèH›h¥ï´YkUà„() ß´üýÿŽ5 mƒ¤Å¹]Ú”ø }§J.u‚½ipJd½DβƒdF;(ÕwñR–Qåüy2š} :ðUÛ�Š*+Ê¿%ÓËY’átJkA€ÖÜÍN¯©ó(x�¥ü¨ø¶ßʇãf�&ŽYÙ´¶Ÿ¥,î[eF¹†¯Ãà ²ûªN—e?…1¿ZŒ§y6Yt‘ðv‹gºÿåq:§Vh�2ióÆnvatd/uášËÇ[´³jå²ò8E(B•‘�÷~?Ÿüc~0ÙG\s8}Zî“þ‚6è Σ~?¼B½ó‹á¡cÂxð?ü`7#¶ÓL ;�~býùð7ˆl–Ãa¾”Ò~êq@µq°\eÅ1hß�þB!„+8à#q¹ è?ŸÍ „uÆ@ßÌËÊ?÷dnl This file contains local autoconf macros. dnl ---------------------------------------------------------------------------- dnl Output stylize macros for configure (help/runtime). dnl ---------------------------------------------------------------------------- dnl dnl PHP_HELP_SEPARATOR(title) dnl dnl Adds separator title into the configure --help display. dnl AC_DEFUN([PHP_HELP_SEPARATOR],[ AC_ARG_ENABLE([],[ $1 ],[]) ]) dnl dnl PHP_CONFIGURE_PART(title) dnl dnl Adds separator title configure output (idea borrowed from mm). dnl AC_DEFUN([PHP_CONFIGURE_PART],[ AC_MSG_RESULT() AC_MSG_RESULT([${T_MD}$1${T_ME}]) ]) dnl ---------------------------------------------------------------------------- dnl Build system helper macros. dnl ---------------------------------------------------------------------------- dnl dnl PHP_DEF_HAVE(what) dnl dnl Generates 'AC_DEFINE(HAVE_WHAT, 1, [ ])'. dnl AC_DEFUN([PHP_DEF_HAVE],[AC_DEFINE([HAVE_]translit($1,a-z_.-,A-Z___), 1, [ ])]) dnl dnl PHP_RUN_ONCE(namespace, variable, code) dnl dnl Execute code, if variable is not set in namespace. dnl AC_DEFUN([PHP_RUN_ONCE],[ changequote({,}) unique=`echo $2|$SED 's/[^a-zA-Z0-9]/_/g'` changequote([,]) cmd="