Jump to content
View in the app

A better way to browse. Learn more.

乾坤堂社区

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

乾坤堂Nginx二级目录配置

Featured Replies

  • Administrators

下面配置文件是针对同一个站点有二级目录的伪静态配置,并且把主目录重定向到BBS的二级目录

# BBS二级目录
location /bbs/ {
       try_files  $uri $uri/ /bbs/index.php;
 }
location ~^(/page/).*(.php)$ {
   try_files  $uri $uri/ /bbs/index.php;
}
location /api/ {
 if (!-e $request_filename){
   rewrite ^/api/(.*)$ /bbs/api/index.php;
 }
}

# 主域名
location / {
    rewrite  ^/(.*)$  https://www.qiankun.chat/bbs/$1;

}

成长就是不断打破并重建三观

  • Views 127
  • Created
  • Last Reply

Create an account or sign in to comment

Account

Navigation

Search

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.