<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Plausible on Frytea</title>
    <link>https://frytea.com/tags/plausible/</link>
    <description>Recent content in Plausible on Frytea</description>
    <image>
      <title>Frytea</title>
      <url>https://frytea.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://frytea.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Mon, 21 Apr 2025 08:35:22 +0000</lastBuildDate>
    <atom:link href="https://frytea.com/tags/plausible/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Plausible 缺失 location 信息的研究</title>
      <link>https://frytea.com/archives/1477/</link>
      <pubDate>Mon, 21 Apr 2025 08:35:22 +0000</pubDate>
      <guid>https://frytea.com/archives/1477/</guid>
      <description>&lt;h1 id=&#34;plausible-调试方案&#34;&gt;Plausible 调试方案&lt;/h1&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ cd hosting
$ docker compose exec plausible bin/plausible remote
$ kubectl -n plausible exec -it statefulsets/app -- bin/plausible remote

iex&amp;gt; headers = fn {:trace, _pid, :call, {_mod, _fun, [%Plug.Conn{req_headers: headers}]}} -&amp;gt; inspect(headers) end
iex&amp;gt; mod_fun_args = {PlausibleWeb.RemoteIP, :get, 1}
iex&amp;gt; how_many_times = 5
iex&amp;gt; :recon_trace.calls(mod_fun_args, how_many_times, formatter: headers)

# Request it
&lt;/code&gt;&lt;/pre&gt;&lt;blockquote&gt;
&lt;p&gt;最后把 &lt;code&gt;nginx-ingress&lt;/code&gt; 运行模式改为 &lt;code&gt;hostPort&lt;/code&gt; 解决。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
