[maliming] said: 它就是应该访问4200, 这没有问题, 请检查你的反向代理配置, 它没有对css或者js生效, 我对此没有太多经验
帮忙问下有经验的工程师 谢谢 在线等 急!!!
我看请求路径是访问的 4200 怎么让他默认访问44348
您好,看上去应该是一个样式都没有加载
提问前请先查看文档:https://abp.io/docs/latest 查看示例以了解基本任务:https://abp.io/docs/latest/samples 您的问题的认知解决方案可能已经得到解答,请首先使用主页上的搜索。
请向我们提供以下信息: 🧐 提示:如果您正在使用 ABP Studio,您可以从配置窗口中查看有关解决方案的所有信息,当您右键单击[解决方案](https://abp.io/docs/latest/studio/solution-explorer#solution)并单击“解决方案”配置按钮时,该窗口将打开。
worker_processes 1;
events { worker_connections 1024; }
http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65;
# 这里放 server 块
server {
listen 4200;
server_name localhost;
root C:/Nginx/www/qrspc/dist/qrspc;
index index.html;
location = /login {
proxy_pass http://localhost:44348/Account/Login;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /Content/ {
proxy_pass http://localhost:44348/Content/;
}
location /wwwroot/ {
proxy_pass http://localhost:44348/wwwroot/;
}
location /libs/ {
proxy_pass http://localhost:44348/libs/;
}
location /_content/ {
proxy_pass http://localhost:44348/_content/;
}
location / {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://localhost:44350/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location ~* \.(?:ico|css|js|gif|jpe?g|png|woff2?|ttf|svg|eot)$ {
expires 6M;
access_log off;
add_header Cache-Control "public";
}
}
}
Thank you for your guidance. When using the NavItemsComponent component, how can I obtain the user's profile picture settings for displaying the user's profile picture?
我上传到这个网盘上了 幸苦下载一下 谢谢 https://limewire.com/d/DELETED
不好意思 邮箱发送失败了
好的 我已经将项目发生到你的邮箱,幸苦帮忙看一下