LucienShui / PasteMe

PasteMe 是一个无需注册的文本分享平台(未登陆状态下只能使用阅后即焚),可以为文本设置密码和阅后即焚,支持二维码分享和各种一键复制,针对代码提供了额外的高亮功能。
https://pasteme.cn
GNU General Public License v3.0
1.19k stars 155 forks source link

paste后访问显示404 #85

Closed WUST-mengqinyu closed 4 years ago

WUST-mengqinyu commented 4 years ago

用docker部署的,没有改数据库密码,改了前端端口号

可以正常访问和提交代码,在数据库容器里查看数据库也确实存进去了,但是网页访问显示404

LucienShui commented 4 years ago

你好,可以提供一下 nginx 的日志吗?

Sent from my iPhone

On Dec 30, 2019, at 22:53, badcw notifications@github.com wrote:

 用docker部署的,没有改数据库密码,改了前端端口号

可以正常访问和提交代码,在数据库容器里查看数据库也确实存进去了,但是网页访问显示404

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

LucienShui commented 4 years ago

如果用户不多的话,可以考虑一下使用 PasteMe Lite ^w^

WUST-mengqinyu commented 4 years ago

你好,可以提供一下 nginx 的日志吗? Sent from my iPhone On Dec 30, 2019, at 22:53, badcw @.***> wrote:  用docker部署的,没有改数据库密码,改了前端端口号 可以正常访问和提交代码,在数据库容器里查看数据库也确实存进去了,但是网页访问显示404 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

额,后端日志显示的全是200……它跳转到了What_are_you_nong_sha_lei?那个页面

WUST-mengqinyu commented 4 years ago

如果用户不多的话,可以考虑一下使用 PasteMe Lite ^w^

好的,我觉得这个就足够我使用了

LucienShui commented 4 years ago

你好,可以提供一下 nginx 的日志吗? Sent from my iPhone On Dec 30, 2019, at 22:53, badcw @.***> wrote:  用docker部署的,没有改数据库密码,改了前端端口号 可以正常访问和提交代码,在数据库容器里查看数据库也确实存进去了,但是网页访问显示404 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

额,后端日志显示的全是200……它跳转到了What_are_you_nong_sha_lei?那个页面

看起来应该是后端的返回值不太正确,有可能是转发的问题,改前端端口号的时候是改的 docker 的映射还是 nginx 的配置文件?

LucienShui commented 4 years ago

如果用户不多的话,可以考虑一下使用 PasteMe Lite ^w^

好的,我觉得这个就足够我使用了

好的,那我先把这个 issue 关了。