parent
b0f4a5e583
commit
da279228a4
@ -0,0 +1,9 @@ |
|||||||
|
-----BEGIN PUBLIC KEY----- |
||||||
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApHjbPqu0JdFpIJ8cUqP3 |
||||||
|
aC01s/lqr42y3IeOjGckIRV3CewpI+FxONZ4e6uQmOVNYdv2r7Va2qxqRreQVtx8 |
||||||
|
rpwGgM/CGD8j5MZNTsA8u9hby4njy/2hCskNpMNmciPj5iOwokFoiegJOKYQktbg |
||||||
|
Tcba+7QK1ThqaIxzv74p+xuEvVtW9FiAiyDPG4xGBxIDkI02qf3Mtd4Wgp9d5K8t |
||||||
|
wD0hGVeLSbvbyHrrXLQXpukgymdQmqhNvWMLd7sApCFzl8JOq5NmsolARqBq69rK |
||||||
|
LeW/mHzNSn/Sq8OJmEFKkZ+FGxp1tMpTgOGi+EAtspJ+u7HWi3Xb49Jtfhuw1Uzq |
||||||
|
lQIDAQAB |
||||||
|
-----END PUBLIC KEY----- |
@ -0,0 +1,20 @@ |
|||||||
|
worker_processes 1; |
||||||
|
error_log logs/error.log; |
||||||
|
events { |
||||||
|
worker_connections 1024; |
||||||
|
} |
||||||
|
http { |
||||||
|
server { |
||||||
|
listen 8080; |
||||||
|
location / { |
||||||
|
access_by_lua ' |
||||||
|
|
||||||
|
local t = io.popen("checkPort") |
||||||
|
local a = t:read("*all") |
||||||
|
|
||||||
|
ngx.say("<h1>当前进程"..a.."</h1>") |
||||||
|
|
||||||
|
'; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1 @@ |
|||||||
|
docker run --name test -p 3000:3000 -p 2233:2233 -p 5000:5000 test:1.0 & |
Loading…
Reference in new issue