如果我<Checkbox Content="Text" FlowDirection="RightToLeft">
在复选框的左侧定义文本上传
但是,如果定义<Checkbox Content="Text:" FlowDirection="RightToLeft">注意:符号然后我看到奇怪的效果它不是文本:CheckBox但它的diplsys:文本Chekbox:符号出现一个文本的左侧,它也适用于所有类型的charectes?
有任何想法吗??
我有 2 个使用 Docker Compose 部署的 Windows Server Docker 容器。一个容器运行反向代理服务器,另一个容器运行 Web 服务器。Web 服务器提供一个简单的 index.html 页面。两者都在运行 Nginx。
运行时,一切都按预期工作。我可以通过代理访问内容。但是,如果我重新启动 Web 服务器,则会收到错误的网关错误。然后我需要重新启动代理以使其再次工作。
如何在无需重新启动代理的情况下使其正常工作?
Docker-撰写:
version: '3'
services:
web:
build:
context: ./web
dockerfile: ./dockerfile
proxy:
build:
context: ./proxy
dockerfile: ./dockerfile
ports:
- "8089:80"
Run Code Online (Sandbox Code Playgroud)
代理Dockerfile:
FROM sixeyed/nginx:windowsservercore
COPY nginx.conf C:/nginx/conf
CMD C:\nginx\nginx.exe
Run Code Online (Sandbox Code Playgroud)
代理 nginx.config:
events {
}
http {
server {
listen 80;
server_name localhost;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://web:80/;
}
}
}
Run Code Online (Sandbox Code Playgroud)
网络 Dockerfile:
events {
}
http …Run Code Online (Sandbox Code Playgroud) network-programming nginx windows-server docker docker-compose