{"id":1345,"date":"2023-03-19T09:50:56","date_gmt":"2023-03-19T01:50:56","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1345"},"modified":"2023-04-29T09:05:15","modified_gmt":"2023-04-29T01:05:15","slug":"nginx-non-80-port-access-domain-configuration","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/19\/nginx-non-80-port-access-domain-configuration\/","title":{"rendered":"Nginx\u975e80\u7aef\u53e3\u8bbf\u95ee\u57df\u540d\u914d\u7f6e"},"content":{"rendered":"<p>Nginx\u975e80\u7aef\u53e3\u8bbf\u95ee\uff1a\u5982Tomcat\u3001Node.js\u3001Openfire\u7b49<\/p>\n<p>\u539f\u7406\uff1aNginx\u53cd\u5411\u4ee3\u7406<\/p>\n<p><!-- more --><\/p>\n<pre><code class=\"language-shell\"># vim \/data\/server\/nginx\/conf\/vhosts\/AppBlog.conf\n\nserver {\n    listen       80;\n    server_name  www.appblog.cn appblog.cn;\n\n    location \/ {\n        proxy_pass  http:\/\/127.0.0.1:4000;\n    }\n}\n\n# nginx -s reload<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Nginx\u975e80\u7aef\u53e3\u8bbf\u95ee\uff1a\u5982Tomcat\u3001Node.js\u3001Openfire\u7b49 \u539f\u7406\uff1aNginx\u53cd\u5411\u4ee3\u7406 # v [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[332],"tags":[],"class_list":["post-1345","post","type-post","status-publish","format-standard","hentry","category-nginx"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1345"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1345\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}