Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问控制台怎么打开 #76

Open
zlhys opened this issue Mar 21, 2019 · 1 comment
Open

请问控制台怎么打开 #76

zlhys opened this issue Mar 21, 2019 · 1 comment

Comments

@zlhys
Copy link

zlhys commented Mar 21, 2019

在浏览器中输入域名,http://cmdb.kwpsw.cn/static/
返回403,,,
请问我该如何打开CMDB的控制台页面,,,
我是安装文档一步一步来的,我用的python3.7版本,,,
必要步骤都做了,,,
就是不会打开控制台,,,求大神解答

@zlhys
Copy link
Author

zlhys commented Mar 21, 2019

访问 http://cmdb.kwpsw.cn
浏览器返回:Internal Server Error

nginx配置文件如下:
server {
listen 80;
server_name cmdb.kwpsw.cn;
proxy_buffer_size 64k;
proxy_buffers 32 32k;
proxy_busy_buffers_size 128k;

    location /static {
        alias /usr/local/cmdb/static;
    }
    location /static/admin {
    alias /usr/local/python3.7/lib/python3.7/site-packages/django/contrib/admin/static/admin;
    }
    location  /static/ueditor {
    expires 30d;
    alias /usr/local/cmdb/DjangoUeditor/static/ueditor;
    }
    location / {
            include uwsgi_params;
            uwsgi_pass 127.0.0.1:8100;
    }

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant