LNMP發(fā)布后主頁面不正常 ,但管理界面挺正常 分布式布暑的,菜鳥學(xué)習(xí)期。還請(qǐng)大神們指點(diǎn)。 <div>[root@nod0 ~]# mysql --version mysql Ver 8.0.30 for Linux on x86_64 (MySQL Community Server - GPL)</ ... 查看全文
1314學(xué)習(xí)網(wǎng) 發(fā)表于 2022-8-22 11:49 已經(jīng)驗(yàn)證了我的想法,就是php這邊生成了新的樣式文件,但nginx這邊沒有同步到造成的。手工同步后ok了。謝謝! |
是,我也發(fā)現(xiàn)404的這幾個(gè)文件問題了。然后單機(jī)布好現(xiàn)成的后放到分離的php和nginx下,算是完事了。下一步計(jì)劃看一眼,是不是因?yàn)閜hp上生成了,而nginx沒有;我兩邊應(yīng)該做資源實(shí)時(shí)同步就對(duì)了。忽略這問題了。學(xué)習(xí)期間,多謝指教。 |
![]() |
你可能是內(nèi)網(wǎng)建站并設(shè)置提交了緩存。然后外網(wǎng)訪問。外部訪問不了內(nèi)部的樣式表和圖片資源啥的,就這樣了。 |
回復(fù)源碼了,待通過。。。。。 吐槽下這個(gè)驗(yàn)證碼。。。真的是服了。 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>論壇 - Powered by Discuz!</title> <meta name="keywords" content="論壇" /> <meta name="description" content="論壇 " /> <meta name="generator" content="Discuz! X3.4" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2021 Tencent Cloud." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <base /><link rel="stylesheet" type="text/css" href="data/cache/style_1_common.css?v3d" /><link rel="stylesheet" type="text/css" href="data/cache/style_1_forum_index.css?v3d" /><script type="text/javascript">var STYLEID = '1', STATICURL = 'static/', IMGDIR = 'static/image/common', VERHASH = 'v3d', charset = 'utf-8', discuz_uid = '0', cookiepre = 'IAHQ_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'newthread', creditnotice = '1|威望|,2|金錢|,3|貢獻(xiàn)|', defaultstyle = '', REPORTURL = 'aHR0cDovLzIyMS4xOTUuMTM0LjQ4OjEzMjgwL0Rpc2N1ei91cGxvYWQv', SITEURL = 'http://221.195.134.48:13280/Discuz/upload/', JSPATH = 'static/js/', CSSPATH = 'data/cache/style_', DYNAMICURL = '';</script> <script src="static/js/common.js?v3d" type="text/javascript"></script> <meta name="application-name" content="Discuz! Board" /> <meta name="msapplication-tooltip" content="Discuz! Board" /> <meta name="msapplication-task" content="name=論壇;action-uri=http://221.195.134.48:13280/Discuz/upload/forum.php;icon-uri=http://221.195.134.48:13280/Discuz/upload/static/image/common/bbs.ico" /> <link rel="archives" title="Discuz! Board" /> <link rel="stylesheet" id="css_widthauto" type="text/css" href='data/cache/style_1_widthauto.css?v3d' /> <script type="text/javascript">HTMLNODE.className += ' widthauto'</script> <script src="static/js/forum.js?v3d" type="text/javascript"></script> </head> <body id="nv_forum" class="pg_index" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="toptb" class="cl"> <div class="wp"> <div class="z"><a href="javascript:;" onclick="setHomepage('http://192.168.1.132/Discuz/upload/');">設(shè)為首頁</a><a onclick="addFavorite(this.href, 'Discuz! Board');return false;">收藏本站</a></div> <div class="y"> <a id="switchblind" href="javascript:;" onclick="toggleBlind(this)" title="開啟輔助訪問" class="switchblind"></a> <a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="切換到窄版" class="switchwidth">切換到窄版</a> </div> </div> </div> <div id="qmenu_menu" class="p_pop blk" style="display: none;"> <div class="ptm pbw hm"> 請(qǐng) <a href="javascript:;" class="xi2" onclick="lsSubmit()"><strong>登錄</strong></a> 后使用快捷導(dǎo)航<br />沒有賬號(hào)?<a href="member.php?mod=register" class="xi2 xw1">立即注冊(cè)</a> </div> <div id="fjump_menu" class="btda"></div></div><div id="hd"> <div class="wp"> <div class="hdc cl"><h2><a href="./" title="Discuz! Board"><img src="static/image/common/logo.png" alt="Discuz! Board" border="0" /></a></h2><script src="static/js/logging.js?v3d" type="text/javascript"></script> <form method="post" autocomplete="off" id="lsform" action="member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes" onsubmit="return lsSubmit();"> <div class="fastlg cl"> <span id="return_ls" style="display:none"></span> <div class="y pns"> <table cellspacing="0" cellpadding="0"> <tr> <td> <span class="ftid"> <select name="fastloginfield" id="ls_fastloginfield" width="40" tabindex="900"> <option value="username">用戶名</option> <option value="email">Email</option> </select> </span> <script type="text/javascript">simulateSelect('ls_fastloginfield')</script> </td> <td><input type="text" name="username" id="ls_username" autocomplete="off" class="px vm" tabindex="901" /></td> <td class="fastlg_l"><label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903" />自動(dòng)登錄</label></td> <td> <a href="javascript:;" onclick="showWindow('login', 'member.php?mod=logging&action=login&viewlostpw=1')">找回密碼</a></td> </tr> <tr> <td><label for="ls_password" class="z psw_w">密碼</label></td> <td><input type="password" name="password" id="ls_password" class="px vm" autocomplete="off" tabindex="902" /></td> <td class="fastlg_l"><button type="submit" class="pn vm" tabindex="904" style="width: 75px;"><em>登錄</em></button></td> <td> <a href="member.php?mod=register" class="xi2 xw1">立即注冊(cè)</a></td> </tr> </table> <input type="hidden" name="formhash" value="62a61054" /> <input type="hidden" name="quickforward" value="yes" /> <input type="hidden" name="handlekey" value="ls" /> </div> </div> </form> </div> <div id="nv"> <a href="javascript:;" id="qmenu" onmouseover="delayShow(this, function () {showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});showForummenu();})">快捷導(dǎo)航</a> <ul><li class="a" id="mn_forum" ><a href="forum.php" hidefocus="true" title="BBS" >論壇<span>BBS</span></a></li></ul> </div> <div id="mu" class="cl"> </div><div id="scbar" class="cl"> <form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="search.php?searchsubmit=yes" target="_blank"> <input type="hidden" name="mod" id="scbar_mod" value="search" /> <input type="hidden" name="formhash" value="62a61054" /> <input type="hidden" name="srchtype" value="title" /> <input type="hidden" name="srhfid" value="" /> <input type="hidden" name="srhlocality" value="forum::index" /> <table cellspacing="0" cellpadding="0"> <tr> <td class="scbar_icon_td"></td> <td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="請(qǐng)輸入搜索內(nèi)容" autocomplete="off" x-webkit-speech speech /></td> <td class="scbar_type_td"><a href="javascript:;" id="scbar_type" class="xg1" onclick="showMenu(this.id)" hidefocus="true">搜索</a></td> <td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true"><strong class="xi2">搜索</strong></button></td> <td class="scbar_hot_td"> <div id="scbar_hot"> <strong class="xw1">熱搜: </strong> <a href="search.php?mod=forum&srchtxt=%E6%B4%BB%E5%8A%A8&formhash=62a61054&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">活動(dòng)</a> <a href="search.php?mod=forum&srchtxt=%E4%BA%A4%E5%8F%8B&formhash=62a61054&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">交友</a> <a href="search.php?mod=forum&srchtxt=discuz&formhash=62a61054&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">discuz</a> </div> </td> </tr> </table> </form> </div> <ul id="scbar_type_menu" class="p_pop" style="display: none;"><li><a href="javascript:;" rel="forum" class="curtype">帖子</a></li><li><a href="javascript:;" rel="user">用戶</a></li></ul> <script type="text/javascript"> initSearchmenu('scbar', ''); </script> </div> </div> <div id="wp" class="wp"> <div id="pt" class="bm cl"> <div class="z"> <a href="./" class="nvhm" title="首頁">Discuz! Board</a><em>»</em><a href="forum.php">論壇</a></div> <div class="z"></div> </div> <style id="diy_style" type="text/css"></style> <div class="wp"> <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]--> </div> <div id="ct" class="wp cl"> <div id="chart" class="bm bw0 cl"> <p class="chart z">今日: <em>0</em><span class="pipe">|</span>昨日: <em>0</em><span class="pipe">|</span>帖子: <em>0</em><span class="pipe">|</span>會(huì)員: <em>1</em><span class="pipe">|</span>歡迎新會(huì)員: <em><a href="home.php?mod=space&username=admin" target="_blank" class="xi2">admin</a></em></p> <div class="y"> <a href="forum.php?mod=guide&view=new" title="最新回復(fù)" class="xi2">最新回復(fù)</a></div> </div> <!--[diy=diy_chart]--><div id="diy_chart" class="area"></div><!--[/diy]--> <div class="mn"> <div class="fl bm"> <div class="bm bmw cl"> <div class="bm_h cl"> <span class="o"> <img id="category_1_img" src="static/image/common/collapsed_no.gif" title="收起/展開" alt="收起/展開" onclick="toggle_collapse('category_1');" /> </span> <h2><a href="forum.php?gid=1" style="">Discuz!</a></h2> </div> <div id="category_1" class="bm_c" style=""> <table cellspacing="0" cellpadding="0" class="fl_tb"> <tr><td class="fl_icn" > <a href="forum.php?mod=forumdisplay&fid=2"><img src="static/image/common/forum.gif" alt="默認(rèn)版塊" /></a> </td> <td> <h2><a href="forum.php?mod=forumdisplay&fid=2">默認(rèn)版塊</a></h2> </td> <td class="fl_i"> <span class="xi2">0</span><span class="xg1"> / 0</span></td> <td class="fl_by"> <div> 從未 </div> </td> </tr> <tr class="fl_row"> </tr> </table> </div> </div> </div> <div class="wp mtn"> <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]--> </div> <div id="online" class="bm oll"> <div class="bm_h"> <span class="o"><a href="forum.php?showoldetails=no#online" title="收起/展開"><img src="static/image/common/collapsed_no.gif" alt="收起/展開" /></a></span> <h3> <strong><a href="home.php?mod=space&do=friend&view=online&type=member">在線會(huì)員</a></strong> <span class="xs1">- <strong>1</strong> 人在線 - <strong>1</strong> 會(huì)員(<strong>0</strong> 隱身), <strong>0</strong> 位游客 - 最高記錄是 <strong>1</strong> 于 <strong>2022-8-21</strong>.</span> </h3> </div> <dl id="onlinelist" class="bm_c"> <dt class="ptm pbm bbda"><img src="static/image/common/online_admin.gif" /> 管理員 <img src="static/image/common/online_supermod.gif" /> 超級(jí)版主 <img src="static/image/common/online_moderator.gif" /> 版主 <img src="static/image/common/online_member.gif" /> 會(huì)員 </dt> <dd class="ptm pbm"> <ul class="cl"> <li title="時(shí)間: 21:14"> <img src="static/image/common/online_admin.gif" alt="icon" /> <a href="home.php?mod=space&uid=1">admin</a> </li> </ul> </dd> </dl> </div> <div class="bm lk"> <div id="category_lk" class="bm_c ptm"> <ul class="m mbn cl"><li class="lk_logo mbm bbda cl"><img src="static/image/common/logo_88_31.gif" border="0" alt="官方論壇" /><div class="lk_content z"><h5><a target="_blank">官方論壇</a></h5><p>提供最新 Discuz! 產(chǎn)品新聞、軟件下載與技術(shù)交流</p></div></li></ul> <ul class="x mbm cl"> <li><a href="https://addon.dismall.com/" target="_blank" title="應(yīng)用商店">應(yīng)用商店</a></li></ul> </div> </div> </div> </div> <script>fixed_top_nv();</script> </div> <div id="ft" class="wp cl"> <div id="flk" class="y"> <p> <a href="archiver/" >Archiver</a><span class="pipe">|</span><a href="forum.php?mobile=yes" >手機(jī)版</a><span class="pipe">|</span><a href="forum.php?mod=misc&action=showdarkroom" >小黑屋</a><span class="pipe">|</span><strong><a target="_blank">DiscuzX</a></strong> </p> <p class="xs0"> GMT+8, 2022-8-21 21:18<span id="debuginfo"> , Processed in 0.040361 second(s), 8 queries . </span> </p> </div> <div id="frt"> <p>Powered by <strong><a target="_blank">Discuz!</a></strong> <em>X3.4</em></p> <p class="xs0">Copyright © 2001-2021, Tencent Cloud.</p> </div></div> <script src="home.php?mod=misc&ac=sendmail&rand=1661087904" type="text/javascript"></script> <div id="scrolltop"> <span hidefocus="true"><a title="返回頂部" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>返回頂部</b></a></span> </div> <script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script> </body> </html> |
已然更新過。。。依舊不管用。同一臺(tái)機(jī)器部署毛事沒有。就是php 和 nginx 一分開機(jī)器就完蛋。。 |
前臺(tái)不正常 先更新一次緩存看看 |
|
手機(jī)版|小黑屋|Discuz! 官方交流社區(qū)
( 皖I(lǐng)CP備16010102號(hào) |皖公網(wǎng)安備34010302002376號(hào) )|網(wǎng)站地圖|
GMT+8, 2025-9-20 18:57 , Processed in 0.076171 second(s), 31 queries .
Powered by Discuz! W1.0 Licensed
Copyright © 2001-2025 Discuz! Team.