File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,14 @@ version: '3.9'
173173services:
174174 # yum install - y httpd- tools
175175 nginx:
176- image: registry. cn- hangzhou. aliyuncs. com/ xfg- studio/ nginx: latest
176+ image: registry. cn- hangzhou. aliyuncs. com/ xfg- studio/ nginx: 1.28 . 0 - alpine # 原镜像 httpsok / nginx : 1.28 . 0 - alpine
177177 container_name: nginx
178178 restart: always
179179 ports:
180180 - ' 443:443'
181181 - ' 80:80'
182182 environment:
183- HTTPSOK : https: // httpsok.com/console/dashboard 写你的 token curl -s https://get.httpsok.com/ | bash -s 【这里的值】
183+ HTTPSOK_TOKEN = https: // httpsok.com/console/dashboard 写你的 token curl -s https://get.httpsok.com/ | bash -s 【这里的值】
184184 volumes:
185185 - . / nginx/ logs: / var / log/ nginx
186186 - . / nginx/ html: / usr/ share/ nginx/ html
@@ -190,7 +190,7 @@ services:
190190 privileged: true
191191```
192192
193- - 官网说明:[ https://httpsok.com/doc/faq/docker- nginx.html ] ( https://httpsok.com/doc/faq/docker- nginx.html )
193+ - 官网说明:[ https://httpsok.com/doc/course/deploy-to- nginx-indocker .html ] ( https://httpsok.com/doc/course/deploy-to- nginx-indocker .html )
194194
195195### 2. 上传文件
196196
You can’t perform that action at this time.
0 commit comments