Your commit message
This commit is contained in:
35
Public/dep/octopus-offline-nginx.conf
Normal file
35
Public/dep/octopus-offline-nginx.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
server {
|
||||
|
||||
listen 80;
|
||||
|
||||
location /octopus-agent/ {
|
||||
|
||||
root /data/github-action;
|
||||
|
||||
autoindex on; # 开启目录浏览功能;
|
||||
}
|
||||
|
||||
|
||||
location /shell/ {
|
||||
|
||||
root /data/github-action;
|
||||
|
||||
autoindex on; # 开启目录浏览功能;
|
||||
|
||||
}
|
||||
|
||||
location /agent-config/ {
|
||||
|
||||
root /data/github-action;
|
||||
|
||||
autoindex on; # 开启目录浏览功能;
|
||||
|
||||
}
|
||||
|
||||
location /agent-version {
|
||||
add_header Content-Type text/plain;
|
||||
alias /data/github-action/agent-version;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user