0+
发表于244 天前
⁄ WEB服务器
1、cd进入/etc/nginx/sites-available,建立一个新文件,一般以你的域名为文件名,例如:www.xx.com
2、复制代码:
server {
listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6
root /var/www/www.xx.com; #你网站所在目录的绝对路径
index index.php index.html index.htm; #目录索引
# Make site accessible from http://localhost/
server_name www.xx.com; #网站的域名
location / {
index index.html index.htm index.php; ...
nginx, ubuntu, 虚拟目录阅读全文



放进去了,汉化不了啊 :cr
太爱你了!!!!!! :mr
Nice site! And
Hello! You hav
这个好东西,收藏了!
博主你的网站做的不错哦。最近
博主你的网站做的不错哦。最近
No repository
博主你的网站做的不错哦,知更
博主你的网站做的不错哦,知更