[email protected]:~# apt remove resolvconf Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: resolvconf 0 upgraded, 0 newly installed, 1to remove and 0 not upgraded. After this operation, 204 kB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 36842 files and directories currently installed.) Removing resolvconf (1.87) ... resolvconf.postrm: Reboot recommended Processing triggers for man-db (2.9.4-2) ...
[email protected]:~# cd oneinstack/ [email protected]:~/oneinstack# ./vhost.sh ####################################################################### # OneinStack for CentOS/RedHat 7+ Debian 9+ and Ubuntu 16+ # # For more information please visit https://oneinstack.com # ####################################################################### What Are You Doing? 1. Use HTTP Only 2. Use your own SSL Certificate and Key 3. Use Let's Encrypt to Create SSL Certificate and Key q. Exit Please input the correct option: 2 Please input domain(example: www.example.com): status.wuw.moe domain=status.wuw.moe Please input the directory forthe domain:status.wuw.moe : (Default directory: /data/wwwroot/status.wuw.moe): Virtual Host Directory=/data/wwwroot/status.wuw.moe Create Virtul Host directory...... set permissions of Virtual Host directory...... Do you want to add more domain name? [y/n]: n Do you want to redirect all HTTP requests to HTTPS? [y/n]: y You are aboutto be asked to enter information that will be incorporated into your certificate request. What you are aboutto enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. Country Name (2 letter code) [CN]: CN State or Province Name (full name) [Shanghai]: CN Locality Name (eg, city) [Shanghai]: CN Organization Name (eg, company) [Example Inc.]: CN Organizational Unit Name (eg, section) [IT Dept.]: CN Do you want to add hotlink protection? [y/n]: y Allow Rewrite rule? [y/n]: y Please input the rewrite of programme : wordpress,opencart,magento2,drupal,joomla,codeigniter,laravel thinkphp,pathinfo,discuz,typecho,ecshop,nextcloud,zblog,whmcs rewrite was exist. (Default rewrite: other): You choose rewrite=other Allow Nginx/Tengine/OpenResty access_log? [y/n]: y You access logfile=/data/wwwlogs/status.wuw.moe_nginx.log nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/usr/local/openresty/nginx/conf/ssl/status.wuw.moe.crt" nginx: the configuration file /usr/local/openresty/nginx/conf/nginx.conf syntax is ok nginx: configuration file /usr/local/openresty/nginx/conf/nginx.conf test is successful Reload Nginx...... nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/usr/local/openresty/nginx/conf/ssl/status.wuw.moe.crt" ####################################################################### # OneinStack for CentOS/RedHat 7+ Debian 9+ and Ubuntu 16+ # # For more information please visit https://oneinstack.com # ####################################################################### Your domain: status.wuw.moe Virtualhost conf: /usr/local/openresty/nginx/conf/vhost/status.wuw.moe.conf Directory of: /data/wwwroot/status.wuw.moe Rewrite rule: /usr/local/openresty/nginx/conf/rewrite/other.conf Self-signed SSL Certificate: /usr/local/openresty/nginx/conf/ssl/status.wuw.moe.crt SSL Private Key: /usr/local/openresty/nginx/conf/ssl/status.wuw.moe.key SSL CSR File: /usr/local/openresty/nginx/conf/ssl/status.wuw.moe.csr [email protected]:~/oneinstack#