97久久国产亚洲精品超碰热,成人又色又爽的免费网站,色偷偷女人的天堂a,男女高潮喷水在线观看,国内精品一线二线三线区别在哪里

Discuz! 官方交流社區(qū)

標(biāo)題: 求助,安裝出現(xiàn)問題 [打印本頁]

作者: wingman911    時(shí)間: 2023-12-23 10:57
標(biāo)題: 求助,安裝出現(xiàn)問題

安裝到第七步,就不行了,有好心人能幫忙看一下是什么問題嗎?
不知道Nginx設(shè)置的對不對,不太懂Nginx


(, 下載次數(shù): 32)

作者: 18972499663    時(shí)間: 2023-12-23 14:06
這里是官方文檔,你對照參考一下,應(yīng)該能解決問題。https://doc.q.discuz.vip/
作者: a112980205    時(shí)間: 2023-12-24 10:56
先設(shè)置偽靜態(tài)后試一試
作者: 風(fēng)亂流年    時(shí)間: 2023-12-26 13:41
https://doc.q.discuz.vip/guide/install.html
根據(jù)主機(jī)、選擇apache或nginx,然后設(shè)置偽靜態(tài)
作者: wingman911    時(shí)間: 2023-12-26 14:04
風(fēng)亂流年 發(fā)表于 2023-12-26 13:41
https://doc.q.discuz.vip/guide/install.html
根據(jù)主機(jī)、選擇apache或nginx,然后設(shè)置偽靜態(tài) ...


幫忙看一下Nginx配置的對不對,我用phpstudy設(shè)置的,面板上的設(shè)置和Nginx.conf文件設(shè)置好像不一致,root和index應(yīng)用了面板設(shè)置,Nginx.conf文件里的root和index貌似沒生效

  1.   gzip on;
  2.   gzip_min_length 1024;
  3.   gzip_types application/json text/html text/css application/x-javascript application/javascript application/vnd.api+json;
  4.   gzip_disable "MSIE [1-6]\.";
  5.   gzip_comp_level 2;
  6.   
  7.     # another virtual host using mix of IP-, name-, and port-based configuration
  8.     #
  9.     server {
  10.     #    listen       80;
  11.     #    listen       somename:8080;
  12.     #   server_name  localhost;
  13.        
  14.     location / {
  15.              root   WWW/public;
  16.              index  index.php index.html index.htm;
  17.              try_files $uri $uri/ /index.php?$query_string;
  18.         }
  19.     }
復(fù)制代碼


作者: wingman911    時(shí)間: 2023-12-26 14:10
風(fēng)亂流年 發(fā)表于 2023-12-26 13:41
https://doc.q.discuz.vip/guide/install.html
根據(jù)主機(jī)、選擇apache或nginx,然后設(shè)置偽靜態(tài) ...


(, 下載次數(shù): 32)
這是軟件默認(rèn)的,我是要把這里的替換成下面的嗎?
  1. location / {
  2.   try_files $uri $uri/ /index.php?$query_string;
  3. }
復(fù)制代碼




作者: 風(fēng)亂流年    時(shí)間: 2023-12-26 14:34
這是我apache站點(diǎn)的偽靜態(tài)規(guī)則
  1. <IfModule mod_rewrite.c>
  2.     <IfModule mod_negotiation.c>
  3.         Options -MultiViews -Indexes
  4.     </IfModule>

  5.     RewriteEngine On

  6.     # Handle Authorization Header
  7.     RewriteCond %{HTTP:Authorization} .
  8.     RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

  9.     # Redirect Trailing Slashes If Not A Folder...
  10.     RewriteCond %{REQUEST_FILENAME} !-d
  11.     RewriteCond %{REQUEST_URI} (.+)/$
  12.     RewriteRule ^ %1 [L,R=301]

  13.     # Handle Front Controller...
  14.     RewriteCond %{REQUEST_FILENAME} !-d
  15.     RewriteCond %{REQUEST_FILENAME} !-f
  16.     RewriteRule ^ index.php [L]
  17. </IfModule>
復(fù)制代碼





歡迎光臨 Discuz! 官方交流社區(qū) (http://r615.cn/) Powered by Discuz! X5.0