02 2019 档案
摘要:1.无法访问nginx到发布的站点,但是使用原配置(nginx.conf)却可以。使用新建的配置conf.d/netcore.conf不行。 2.在windows浏览中访问http://xxx.xxx.xxx会自动转到https://xxx.xxx.xxx:5001 3.查看了nginx访问日志,可
阅读全文
摘要:#虚拟主机的配置server {#监听端口listen 80;#服务器域名server_name localhost;#网页的默认编码#charset koi8r;#访问该虚拟主机的日志位置#access_log /var/log/nginx/host.access.log main;#根据目录配置
阅读全文
摘要:#全局配置 # For more information on configuration, see:# * Official English Documentation: http://nginx.org/en/docs/# * Official Russian Documentation: ht
阅读全文
摘要:1.ctrl+alt+f2切换到命令界面 2.ifconfig查看IP 或者IP ADDR(en33 inter) 3.使用putty终端进行交互式操作 4.shell:提供用户输入的命令解释器 查看nginx是否运行 Linux每个应用运行都会产生一个进程,那么我们就可以通过查看Nginx进程是否
阅读全文