Hello, I’m new to nginx! I have my applications running on the wildfly 33.0.1.Final application server run by camunda 7.22, and the nginx configuration for each location in my domain works fine but without the css, while with the ip everything seems ok, here is the configuration:
upstream wildfly {
server 127.0.0.1:8080 weight=100 max_fails=5 fail_timeout=5;
}
server {
listen 80;
server_name ikar.dev www.ikar.dev;
return 301 https://$server_name$request_uri;
}
server { listen 443 ssl;
server_name ikar.dev www.ikar.dev;
root /var/www/html;
ssl_certificate /etc/letsencrypt/live/ikar.dev/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ikar.dev/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
client_max_body_size 50M;
proxy_read_timeout 1200;
proxy_send_timeout 1200;
add_header 'Content-Security-Policy' 'upgrade-insecure-requests';
index index.php index.html index.htm;
location /cnss/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Connection '';
proxy_pass http://wildfly/guce-cnss/;
}
location /verify/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Connection '';
proxy_pass http://wildfly/verify/;
}
}
Please help me
GET https://ikar.dev/verify/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css?v=4.7.0 net::ERR_ABORTED 404 (Not Found)