跳转到帖子
在手机APP中查看

一个更好的浏览方法。了解更多

PHP论坛人

主屏幕上的全屏APP,带有推送通知、徽章等。

在iOS和iPadOS上安装此APP
  1. 在Safari中轻敲分享图标
  2. 滚动菜单并轻敲添加到主屏幕
  3. 轻敲右上角的添加按钮。
在安卓上安装此APP
  1. 轻敲浏览器右上角的三个点菜单 (⋮) 。
  2. 轻敲添加到主屏幕安装APP
  3. 轻敲安装进行确认。

vBulletin 6.0 Nginx 伪静态 (LNMP一键包)

精选回复

发布于

vBulletin 6.0 Nginx 伪静态 (LNMP一键包)

更换为LNMP一键包,发现宝塔面板可用的伪静态,在LNMP一键包变成直接下载PHP文件

因此换为以下的伪静态

 

vi /usr/local/nginx/conf/rewrite/vbb.conf

 

rewrite ^/css.php$ /core/css.php last;
rewrite ^/install/ /core/install/ last;
rewrite ^/(admincp/)$ /index.php?routestring=$1 break;

if (!-f $request_filename) {
                        rewrite ^/(.*)$ /index.php?routestring=$1 break;
                }

try_files $uri $uri/ /index.php?routestring=$uri$is_args$args;

        location / {
                if (!-f $request_filename) {
                        rewrite ^/(.*)$ /index.php?routestring=$1 last;
                }
               if (!-e $request_filename){
               rewrite ^(.*)$ /index.php?routestring=$1 break;
                }
        }


保存并离开
:wq

 

重启nginx
/etc/init.d/nginx restart

 

 

LNMP-ng-rewrite.txt

创建帐户或登录后发表意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.