我尝试使用 NGINX Web 服务器在我的 ec2 实例机器上安装这个 docker 映像。但是静态文件没有显示在我的网站上。使用https://localhost.localdomain呈现 webpack 包文件,而其他文件呈现正确的 url https://zp.tastysites.dev
这里似乎缺少什么?你能帮我吗?
这是nginx配置
server {
server_name zp.tastysites.dev;
location / {
proxy_pass https://127.0.0.1:5553;
}
listen 443 ssl; # managed by Certbot
certbots ssl here .....
}