https 404 Not Found

来源:12-6 配置域名,开启HTTPS

Superdogso

2023-03-23

老师我后端和工作流启动都正常,nginx -t 也没报错但是404

01:26:10 INFO Exposing 2 endpoint(s) beneath base path '/actuator’
01:26:10 INFO Tomcat started on port(s): 9090 (http) with context path '/emos-workflow’
01:26:10 INFO Starting Quartz Scheduler now
01:26:10 INFO Freed 0 triggers from ‘acquired’ / ‘blocked’ state.
01:26:10 INFO Recovering 0 jobs that were in-progress at the time of the last shut-down.
01:26:10 INFO Recovery complete.
01:26:10 INFO Removed 0 ‘complete’ triggers.
01:26:10 INFO Removed 0 stale fired job entries.
01:26:10 INFO Scheduler quartzScheduler_$_NON_CLUSTERED started.
01:26:10 INFO Started EmosApplication in 10.261 seconds (JVM running for 10.864)

22:56:41 INFO Quartz scheduler ‘quartzScheduler’ initialized from an externally provided properties instance.
22:56:41 INFO Quartz scheduler version: 2.3.2
22:56:41 INFO JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@1c34365c
22:56:41 INFO Tomcat started on port(s): 8080 (http) with context path '/emos-wx-api’
22:56:41 INFO Context refreshed
22:56:41 INFO Found 1 custom documentation plugin(s)
22:56:41 INFO Scanning for api listing references
22:56:41 INFO Starting Quartz Scheduler now
22:56:41 INFO Scheduler quartzScheduler_$_NON_CLUSTERED started.
22:56:41 INFO Started EmosWxApiApplication in 8.66 seconds (JVM running for 9.317)

server {
#SSL 访问端口号为 443
listen 443 ssl;
#填写绑定证书的域名
server_name www.tianhainai2.cn;
#证书文件名称
ssl_certificate tianhainai2.cn_bundle.crt;
#私钥文件名称
ssl_certificate_key tianhainai2.cn.key;
ssl_session_timeout 5m;
#请按照以下协议配置
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
#请按照以下套件配置,配置加密套件,写法遵循 openssl 标准。
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
location /emos-wx-api {
proxy_pass http://localhost:8080/emos-wx-api;
}
location /emos-workflow {
proxy_pass http://localhost:9090/emos-workflow;
}
}
请问是哪里出了问题

写回答

1回答

神思者

2023-03-23

你的云主机备案通过了吗?

0
5
慕移动8561185
回复
Superdogso
请问解决了吗?
2023-05-27
共5条回复

SpringBoot 在线协同办公小程序开发 全栈式项目实战

未来趋势型业务 + 前后端综合技术栈 + 惊艳的细节打磨

1798 学习 · 1915 问题

查看课程