无法为网址增加第二个域名,各种问题 New
说下需求,dis.qidao123.com.这个次网站我们后端是DIS应用,www.qidao123.com,是我们的主域名(两个网站已经共享账号),后端是JAVA.现在从SEO的角度.他是两个网站,dis.qidao123.com对www.qidao123.com没有权重的提升,所以我想给这个DIZ后端应用一个新的域名,www.qidao123.com/bbs,原来的dis.qidao123.com继续用,怎么配置nginx实现这个功能,目前通过NGINX反向代理(源网站文件没有拷贝过来),www.qidao123.com/bbs能正常显示网页内容,但是NGINX经常报504超时错误.原来和dis.qidao123.com打通的账号也无法登陆
请问大佬怎么解决这个问题
我知道答案 回答被采纳将会获得1 贡献 已有3人回答 www.qidao123.com/bbs
这个不叫域名,叫目录,并且Discuz也不建议用多域名使用。
.ce-block { margin-bottom: 20px;}.ce-block__content, .ce-toolbar__content { margin-left: auto; margin-right: auto;}.cdx-quote { position: relative; background-color: #f8f8f8; padding: 24px!important; margin: 0px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); overflow: hidden;}.quote-background-icon { position: absolute; top: 10px; right: 10px; opacity: 0.2; z-index: 1;}.cdx-quote__text { min-height: 30px; margin-bottom: 10px; font-size: 16px; line-height: 1.5; color: #333;}.cdx-quote__caption { padding: 10px 20px 0px 20px; font-size: 14px; color: #777;}.cdx-quote__caption-left { text-align: left;}.cdx-quote__caption-center { text-align: center;}.cdx-quote__caption-right { text-align: right;}.cdx-quote ::before { position: absolute; content: attr(data-placeholder); color: #bbb; font-weight: normal; opacity: 0;}.cdx-quote :empty::before { opacity: 1;}.cdx-quote :empty:focus::before { opacity: 0;}.cdx-quote-settings { display: flex;}.cdx-quote-settings .cdx-settings-button { width: 50%;}.ce-block { margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content { /* max-width:calc(100% - 50px) */ margin-left: auto; margin-right: auto;}.ce-paragraph { line-height: 1.6em; outline: none; text-indent: 2em; font-size: 16px;}.ce-paragraph--right { text-align: right;}.ce-paragraph--center { text-align: center;}.ce-paragraph--left { text-align: left;}.ce-paragraph--justify { text-align: justify;}.ce-paragraph-text-indent { text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{ margin-top: 0;}.ce-paragraph p:last-of-type{ margin-bottom: 0;}.svg-icon { width: 1em; height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect { fill: #4691f6;}.svg-icon circle { stroke: #4691f6; stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;} 现在确实需要把DIS加到主站这边,为主站增加权重,本来用DIS的目的也是这样的, 或者确实不能新增,一定要把原来老的域名去掉么
页:
[1]