郝立国
- 郝立国 收藏了教程Yii2 获取模块名控制器名方法名
- 郝立国 赞了回复
网站目前还在找好看的合适配图 发现找图片是个很头大的工作
这是本站的 nginx.conf 配置文件
server { listen 443 ssl; listen 80; server_name www.xxx.com; ssl_certificate cert/xxxx.pem; ssl_certificate_key cert/xxxx.key; ssl_session_timeout 5m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; root /path/to/web; index index.php; location / { # Redirect everything that isn't a real file to index.php try_files $uri $uri/ /index.php$is_args$args; } location ~ \.php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } location ~ /\.(ht|svn|git) { deny all; } }
谢谢舰长 我这边看你的懂了 我把http的配置删了就好了