nginx配置
第二个站点配置完打开是welcome?server {
listen 80;
server_name a.com;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
listen 443 ssl http2;
server_name a.com www.a.com;
ssl on;
ssl_certificate /root/.acme.sh/a.com/fullchain.cer;
ssl_certificate_key /root/.acme.sh/a.com/a.com.key;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:8088;
}
}
server{
listen 80;
server_name b.com;
root/home/www/b;
index index.html index.htm;
location \ {
}
} 不知道楼下回答紫薯布丁
Dwight 发表于 2018-2-27 19:49
不知道楼下回答紫薯布丁
神马图??? 呵呵又要建机场了,ssmgr吧yc010t bitspirit 发表于 2018-2-27 19:56
呵呵又要建机场了,ssmgr吧
机场吃灰 弄个博客记笔记yc007t
页:
[1]
2
