苗条大树

文章
6
资源
0
加入时间
3年2月3天

ubuntu中使用nginx把本地80端口转到其他端口

配置转发nginx的默认安装路径在/usr/local/nginx下. nginx的默认配置在/etc/nginx下.把80端口指向8080端口, 方法如下:修改nginx.conf注释掉改行: #nginx.conf 中 http 段最后会有以下这两句. #这样你就可以把已经配置好的各种 server conf 放在 sites-available 里, #如果想启用的时候只要