Giter VIP home page Giter VIP logo

Comments (9)

channerchen avatar channerchen commented on July 29, 2024

nginx配置如下

server {
listen 80;
listen 443 ssl;
ssl_certificate /usr/local/cert/4414204.pem;
ssl_certificate_key /usr/local/44142044.key;
server_name home.cc.online;

    location /bark {
        log_not_found on;
        proxy_pass http://127.0.0.1:8080;
        proxy_read_timeout 300;
        proxy_connect_timeout 300;
        proxy_redirect off;
        proxy_set_header Host              $host;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP         $remote_addr;
    }

from bark-server.

Finb avatar Finb commented on July 29, 2024
location /bark/ {
     proxy_pass http://127.0.0.1:8080/;
}

改成这样试试

from bark-server.

channerchen avatar channerchen commented on July 29, 2024
location /bark/ {
     proxy_pass http://127.0.0.1:8080/;
}

改成这样试试

还是不可以呢~

from bark-server.

Finb avatar Finb commented on July 29, 2024

@channerchen 你再将你完整的配置文件发一下我看看

from bark-server.

channerchen avatar channerchen commented on July 29, 2024

nginx.txt

在开源项目pingos上改了conf的配置, pingos就是一个支持hls h265 rtmp的nginx

from bark-server.

Finb avatar Finb commented on July 29, 2024

@channerchen

location /bark/   <----- 注意加上后面这个 /  {
     proxy_pass http://127.0.0.1:8080/;    <----- 注意加上后面这个 / 
}

我看了你发的,你好像改错了,我是想让你在这两个位置加上 / ,其他都不变

from bark-server.

channerchen avatar channerchen commented on July 29, 2024

加了两个斜杠就行了,莫非是权限问题。 谢谢哈

from bark-server.

mritd avatar mritd commented on July 29, 2024

加了两个斜杠就行了,莫非是权限问题。 谢谢哈

不是... 代码框架不那么智能,后面我重写一下🤪

from bark-server.

channerchen avatar channerchen commented on July 29, 2024

加了两个斜杠就行了,莫非是权限问题。 谢谢哈

不是... 代码框架不那么智能,后面我重写一下🤪

哈哈哈 已经很好了。 多年运维经验没查来 实属自己大意了

from bark-server.

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.