跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

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.

偽靜態 rewrite - vBulletin論壇

精選回覆

發表於

在此步驟,需要與 [8.偽靜態 rewrite - IPS論壇] 這個步驟比較看看

 

---------------------------------
偽靜態 rewrite - vBulletin論壇
---------------------------------

建立偽靜態 rewrite 存放的目錄
mkdir -p /etc/nginx/rewrite


寫入VBB論壇的偽靜態
vi /etc/nginx/rewrite/vbb.conf


偽靜態 規則,請看這裡

 

ESC儲存並離開
:wq

 

 


接下來,也需要修改 域名.com.conf 配置檔

我放在這一行
include rewrite/ips.conf;

 

vi /etc/nginx/sites-available/域名.com.conf


搜尋
include rewrite

修改為
include rewrite/vbb.conf;


ESC儲存並離開
:wq

 

 


重新加载Nginx
nginx -t

nginx -s reload

 


有嚴重錯誤,將提示訊息

如果成功,則是以下的訊息

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful


但不確定,如果只有偽靜態寫錯 (各種論壇的偽靜態.conf) 是否將提示?

 

建立帳號或登入後發表意見

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.