hostnamectl set-hostname <name>
- https://blog.csdn.net/tantexian/article/details/45958275
- 别名: 紫西花语城, 推广名: 西湖国际城.
- 地址: [西湖区]莲紫路与贝家街交叉口.
- http://xihuguojichengzgtj.fang.com/
- 登记编号: TJ000138
- 洋房: 11, 13, 14, 15.
- 总共 150 套, 25% 无房家庭优先摇号.
- 结构: 钢筋混凝土.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install certbot | |
yum install certbot | |
# create cert folder | |
mkdir -p /usr/local/openresty/nginx/html/.well-known/acme-challenge | |
# configure nginx | |
```nginx | |
location ^~ /.well-known/acme-challenge/ { | |
default_type "text/plain"; |