myfree2018 发表于 2025-3-18 16:15:18

问个技术问题,关于宝塔的nginx 80和443端口

我的机器上80和443端口被其他服务占用了,所以必须改宝塔的80和443,我查了一圈,都说更改www/server/panel/vhost/nginx/0.default.conf 我改了88端口没有用,nginx还是启动不了,而且/www/server/nginx/conf/nginx.conf这里根本没有设置80的部分

wxiao333 发表于 2025-3-18 16:18:19

在宝塔里面的左侧导航,软件商店-已安装-nginx-配置,里面改,那里是你的配置文件真正安装位置

myfree2018 发表于 2025-3-18 16:21:17

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16287152&ptid=1396875" target="_blank"><font color="#999999">wxiao333 发表于 2025-3-18 16:18</font></a></font><br />
在宝塔里面的左侧导航,软件商店-已安装-nginx-配置,里面改,那里是你的配置文件真正安装位置 ...</blockquote></div><br />
这个里边没有80和443的设置呢,要手工加吗

myfree2018 发表于 2025-3-18 16:18:00

大佬们给看看,谢谢

myfree2018 发表于 2025-3-18 16:44:13

<img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/mad.gif" smilieid="11" border="0" alt="" />

soyeo 发表于 2025-3-18 18:39:06

直接添加域名:端口

аdmin 发表于 2025-3-18 18:50:45

dd 一个纯净系统<br />
<br />

jekyll 发表于 2025-3-18 19:03:03

whereis nginx &amp;&amp; nginx -t<br />
pacman eat ~

myfree2018 发表于 2025-3-18 19:06:08

<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16287444&ptid=1396875" target="_blank"><font color="#999999">аdmin 发表于 2025-3-18 19:03</font></a></font><br />
dd 一个纯净系统</blockquote></div><br />
我是在群晖nas上用docker安装的,想做个自己的镜像的

myfree2018 发表于 2025-3-19 00:07:41

<img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" /><img src="https://hostloc.com/static/image/smiley/default/sad.gif" smilieid="2" border="0" alt="" />被其他东西占用是什么意思,很重要的服务吗<br />
<br />
<br />
<br />
<div align="right">它们什么都知道,它们本就是故意的<br />
我什么也做不了</div>
页: [1]
查看完整版本: 问个技术问题,关于宝塔的nginx 80和443端口