CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 02:16:04 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"f4b5f7ae650b41ec2202c58067c95661"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=rfIOFNp7r53YMJm%2Bf4Lhj%2FJlmmAvnoxiR9M1NQzbhfvnDUXgTu41HuYQ27No6D3as0yyoF5LQexxSY1CMn%2FPPmN4o29zv%2FTKOCgASNyEu6S8rMmL561iJZduW5sm%2Bm3ENeGHIjzfHs6BsVp1RunFZ4WNz5%2BcXCUB456pCW5j98Z9welpBwOKdLXUVe%2Bho7JVBnPTjgxt4re6EeIDXPVA4%2FG1ah8F4dsagkwmAUJSscPpohi1Kdgm0EORjG0wCnaL25%2Fjx%2B0F1Hwo9uZLwgHAaQ%3D%3D--9h2yKEwpd6cvzNz7--1BoVG6C0zw4njU70tOQdtA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1594454791.1753928164; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 02:16:04 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 02:16:04 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 88CA:1E01C6:15F33A:212FBE:688AD1E4
Use own nginx · alexazhou/VeryNginx Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 956
Use own nginx
AlexaZhou edited this page May 4, 2016
·
9 revisions
VeryNginx 基于 OpenResty 开发,运行 VeryNginx 需要有 OpenResty 环境。
VeryNginx 附带的 install.py 脚本可以自动安装 OpenResty。当然你也可以使用自己编译的 Nginx(OpenResty)。
安装 VeryNginx 和配套的 OpenResty,可以执行以下命令:
python install.py install
软件将会分别安装在以下目录:
- verynginx /opt/verynginx/verynginx
- openresty /opt/verynginx/openresty
如果想仅安装 VeryNginx (不含 OpenResty),可以执行以下命令:
python install.py install verynginx
如果仅安装 VeryNginx,openresty目录将不会生成
1,首先安装 VeryNginx
2,然后将 Git 仓库中的 nginx.conf 拷贝作为自己 Nginx 的配置文件。如果需要的话,可以在其中加入自己的 Nginx 配置。
注:这个配置文件在普通的 Nginx 配置文件基础上添加了三条 Include 指令来实现功能,分别为
- include /opt/verynginx/verynginx/nginx_conf/in_external.conf;
- include /opt/verynginx/verynginx/nginx_conf/in_http_block.conf;
- include /opt/verynginx/verynginx/nginx_conf/in_server_block.conf;
以上三条指令分别放在 http 配置块外部,http 配置块内部,server 配置块内部,在修改时请保留这三条。
当然也可以使用自己的 nginx.conf 配置文件,把这三条 include 指令加入对应的地方即可。
如果添加了新的 Server 配置块或 http 配置块,也需要在新的块内部加入对应的 include 行。
3,然后启动自己编译的 Nginx 即可。
- lua-nginx-module
- http_stub_status_module
- http_ssl_module
注:
- VeryNginx 需要用到 lua-cjson library,lua-resty-core。这两个模块都包含在 lua-nginx-module 中了,所以不需要手工集成。
- 如果 Nginx 运行出错,请打开 nginx error log 查看详细的出错信息,或许会有帮助。
Clone this wiki locally
You can’t perform that action at this time.