<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>nginx - 分类 - 木木飞</title>
        <link>https://www.mmfei.com/categories/nginx/</link>
        <description>nginx - 分类 - 木木飞</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>wlfkongl@gmail.com (mmfei)</managingEditor>
            <webMaster>wlfkongl@gmail.com (mmfei)</webMaster><lastBuildDate>Sat, 10 Sep 2022 22:14:01 &#43;0800</lastBuildDate><atom:link href="https://www.mmfei.com/categories/nginx/" rel="self" type="application/rss+xml" /><item>
    <title>部署openresty和kafka的数据采集系统</title>
    <link>https://www.mmfei.com/2022/09/%E9%83%A8%E7%BD%B2openresty%E5%92%8Ckafka%E7%9A%84%E6%95%B0%E6%8D%AE%E9%87%87%E9%9B%86%E7%B3%BB%E7%BB%9F/</link>
    <pubDate>Sat, 10 Sep 2022 22:14:01 &#43;0800</pubDate>
    <author>作者</author>
    <guid>https://www.mmfei.com/2022/09/%E9%83%A8%E7%BD%B2openresty%E5%92%8Ckafka%E7%9A%84%E6%95%B0%E6%8D%AE%E9%87%87%E9%9B%86%E7%B3%BB%E7%BB%9F/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/images/posts/%e9%83%a8%e7%bd%b2openresty%e5%92%8ckafka%e7%9a%84%e6%95%b0%e6%8d%ae%e9%87%87%e9%9b%86%e7%b3%bb%e7%bb%9f/featuredImage.png" referrerpolicy="no-referrer">
            </div>基于Openresty+Lua+Kafka对日志进行实时的采集 openresty 1 2 3 4 5 6 7 8 9 #!/bin/bash ## openresty apt-get -y install --no-install-recommends wget gnupg ca-certificates wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add - echo &#34;deb http://openresty.org/package/ubuntu $(lsb_release -sc)main&#34; &gt; openresty.list cp openresty.list /etc/apt/sources.list.d/]]></description>
</item><item>
    <title>给openresty服务器的静态网站加上访问密码</title>
    <link>https://www.mmfei.com/2022/01/%E7%BB%99openresty%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E9%9D%99%E6%80%81%E7%BD%91%E7%AB%99%E5%8A%A0%E4%B8%8A%E8%AE%BF%E9%97%AE%E5%AF%86%E7%A0%81/</link>
    <pubDate>Thu, 20 Jan 2022 19:03:47 &#43;0800</pubDate>
    <author>作者</author>
    <guid>https://www.mmfei.com/2022/01/%E7%BB%99openresty%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E9%9D%99%E6%80%81%E7%BD%91%E7%AB%99%E5%8A%A0%E4%B8%8A%E8%AE%BF%E9%97%AE%E5%AF%86%E7%A0%81/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/images/posts/%e7%bb%99openresty%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84%e9%9d%99%e6%80%81%e7%bd%91%e7%ab%99%e5%8a%a0%e4%b8%8a%e8%ae%bf%e9%97%ae%e5%af%86%e7%a0%81/featuredImage.png" referrerpolicy="no-referrer">
            </div>背景 , 一个没权限保护的静态资源所有人可以访问 , 期望加一些密码 原来访问地址: static.mmfei.com 改正后的地址: static.mmfei.com/?doc_access_token=123456 没啥好说的 , 上配置 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]]></description>
</item><item>
    <title>怎样让nginx的配置支持https</title>
    <link>https://www.mmfei.com/2021/06/%E6%80%8E%E6%A0%B7%E8%AE%A9nginx%E7%9A%84%E9%85%8D%E7%BD%AE%E6%94%AF%E6%8C%81https/</link>
    <pubDate>Sat, 05 Jun 2021 23:47:17 &#43;0800</pubDate>
    <author>作者</author>
    <guid>https://www.mmfei.com/2021/06/%E6%80%8E%E6%A0%B7%E8%AE%A9nginx%E7%9A%84%E9%85%8D%E7%BD%AE%E6%94%AF%E6%8C%81https/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/images/posts/%e6%80%8e%e6%a0%b7%e8%ae%a9nginx%e7%9a%84%e9%85%8d%e7%bd%ae%e6%94%af%e6%8c%81https/featuredImage.png" referrerpolicy="no-referrer">
            </div>server { listen 80; server_name api.dev.com; error_page 500 502 503 504 /50x.html; error_log /data/nginx/api.dev.com/error.log; access_log /data/nginx/api.dev.com/access_$logdate.log; #root /mnt/d/wsl/www/playsmart/; index index.html index.htm index.php; location = / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; proxy_set_header Connection keep-alive; proxy_cookie_path / &quot;/; secure; HttpOnly; SameSite=strict&quot;; proxy_pass http://127.0.0.1:8080; } location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; proxy_set_header Connection keep-alive; proxy_cookie_path / &quot;/; secure;]]></description>
</item></channel>
</rss>
