Giter VIP home page Giter VIP logo

Comments (5)

zhengkunwang223 avatar zhengkunwang223 commented on June 12, 2024 3

本地 php 情况下,1panel 不会修改配置,提供一下完整的复现步骤以及截图,我们看看

from 1panel.

zhengkunwang223 avatar zhengkunwang223 commented on June 12, 2024 2

本地 php 情况下,1panel 不会修改配置,提供一下完整的复现步骤以及截图,我们看看

看下配置 信息 我重新新建了站点,观察了下 配置文件的变化. 还有我补充下,这个应该不是 BT 影响吧,在安装你们的面板之前我安装了宝塔.实际上宝塔没有安装php环境.不知道跟这个有没影响,但是我已经成功配置你们 1panel面板 成功运行了 php的.

我使用的 TCP 9000 ..所以应该正常的.

看起来不像是我们的问题,你是停止网站之后又打开了是吗

from 1panel.

AtlantisDe avatar AtlantisDe commented on June 12, 2024

本地 php 情况下,1panel 不会修改配置,提供一下完整的复现步骤以及截图,我们看看

看下配置 信息 我重新新建了站点,观察了下 配置文件的变化. 还有我补充下,这个应该不是 BT 影响吧,在安装你们的面板之前我安装了宝塔.实际上宝塔没有安装php环境.不知道跟这个有没影响,但是我已经成功配置你们 1panel面板 成功运行了 php的.
我使用的 TCP 9000 ..所以应该正常的.

from 1panel.

AtlantisDe avatar AtlantisDe commented on June 12, 2024

看起来不像是我们的问题,你是停止网站之后又打开了是吗

是的,新建站点后,然后,停止站点,再次启动,配置文件就发生改变了.
唯一我能猜测影响的,可能宝塔aaPanel 影响,但是这是什么具体原因引起的?
但是不应该,你们两个面板之间应该没啥联系可言,能影响的就是 端口的80占用问题.这些我都解决了.

这是你们 网站 停止 状态 你们自动修改的配置.

server {
    listen 9996 ; 
    server_name php.test.com; 
    index index.php index.html index.htm default.php default.htm default.html; 
    proxy_set_header Host $host; 
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
    proxy_set_header X-Forwarded-Host $server_name; 
    proxy_set_header X-Real-IP $remote_addr; 
    proxy_http_version 1.1; 
    proxy_set_header Upgrade $http_upgrade; 
    proxy_set_header Connection "upgrade"; 
    access_log /www/sites/phpMyAdmin/log/access.log; 
    error_log /www/sites/phpMyAdmin/log/error.log; 
    location ^~ /.well-known/acme-challenge {
        allow all; 
        root /usr/share/nginx/html; 
    }
    root /usr/share/nginx/html/stop; 
}

from 1panel.

zhengkunwang223 avatar zhengkunwang223 commented on June 12, 2024

看起来不像是我们的问题,你是停止网站之后又打开了是吗

是的,新建站点后,然后,停止站点,再次启动,配置文件就发生改变了.

唯一我能猜测影响的,可能宝塔aaPanel 影响,但是这是什么具体原因引起的?

但是不应该,你们两个面板之间应该没啥联系可言,能影响的就是 端口的80占用问题.这些我都解决了.

这是你们 网站 停止 状态 你们自动修改的配置.

server {

    listen 9996 ; 

    server_name php.test.com; 

    index index.php index.html index.htm default.php default.htm default.html; 

    proxy_set_header Host $host; 

    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 

    proxy_set_header X-Forwarded-Host $server_name; 

    proxy_set_header X-Real-IP $remote_addr; 

    proxy_http_version 1.1; 

    proxy_set_header Upgrade $http_upgrade; 

    proxy_set_header Connection "upgrade"; 

    access_log /www/sites/phpMyAdmin/log/access.log; 

    error_log /www/sites/phpMyAdmin/log/error.log; 

    location ^~ /.well-known/acme-challenge {

        allow all; 

        root /usr/share/nginx/html; 

    }

    root /usr/share/nginx/html/stop; 

}

好的,我们先复现一下

from 1panel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.