weixin_43262277 2018-09-22 12:18 采纳率: 0%
浏览 769

ss-manager 代理到nginx出现问题

系统Ubuntu16.04
在同一个IP有WordPress主页 所以想把ssmanager弄到8080端口
设置完主页可以正常显示,但是访问:8080端口的时候就显示不出ss-manager的页面
求指点

nginx default设置如下

server {
    listen 80 default_server;
    listen [::]:80 default_server;

root /var/www/html;

index index.php index.html index.htm index.nginx-debian.html;

    server_name 95.169.4.24;

    location / {
     try_files $uri $uri/ =404;
    }

location ~ \.php$ {
            include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

location ~ /\.ht {
            deny all;
    }
}

####以下部分为ss-manager页面###
server {
  listen         80;
 server_name  95.169.4.24;
     rewrite  ^ http://$server_name$request_uri? permanent;
 }

server {
  listen                 443 ssl http2;
  server_name            95.169.4.24;
 ssl                    off;

 location / {
  proxy_set_header   X-Real-IP $remote_addr;
  proxy_set_header   Host      $http_host;
  proxy_pass         http://127.0.0.1:8080;
  } 

webgui.yml设置如下:

type: m

manager:
 address: 95.169.4.248:4001
 password: '123456'

plugins:
  flowSaver:
  use: true
user:
  use: true
account:
  use: true
macAccount:
  use: true
group:
  use: true
email:
  use: true
  type: 'smtp'
  username: 'example@qq.com'
  password: 'example'
  host: 'smtp.qq.com'

webgui:
  use: true
  host: '0.0.0.0'
  port: '80'
  site: 'http://95.169.4.24'

db: 'webgui.sqlite'
  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2018-09-22 13:25
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?