Some problems found when deploying showdoc

1. The page layout file of showdoc is  /home/moa/tool/showdoc/Public/css/item/show.css

    Here you can adjust the page layout

2. showdoc will involve character translation. For example, after building, it is found that every time it is edited, a single / will become //.

   Various code investigations found that it is not a problem with php code, but other underlying reasons, so vim /usr/local/php7/etc/php.ini plus

   ;Avoid auto-escape

    magic_quotes_gpc = Off

    magic_quotes_runtime = Off

    magic_quotes_sybase = Off

    Turn off/add the above configuration information and turn off the php automatic escape function.

3.  If the corresponding configuration is successful, the browser cannot access the corresponding address, you can view the nginx network configuration file ps aux|grep nginx 

    Under /etc/nginx/conf.d, there is the nginx configuration file corresponding to the server. 

    The field fastcgi_pass refers to the proxy settings, which are generally set to the local address, so it is 127.0.0.1:9000 

    After everything is configured, if the corresponding address of the network access server is still inaccessible, you can check whether it is the reason of the firewall and turn off the firewall.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324824196&siteId=291194637