随笔分类 - nginx
摘要:server{ listen 80; server_name api.zyy.com; root /var/www/api_zyy; index index.php; location ~ /assets/ {# access_log logs/static.log common; #设置静态内容有
阅读全文
摘要:通常我们应用nginx做代理时,用到它的轮训服务 #设置轮询名称 upstream zyy{ server 127.0.0.1:8080 #本机的apache服务 } server { listen 80; server_name test.com; root /test; location / {
阅读全文

浙公网安备 33010602011771号