what the front-end staff did not put on the server are some static files, such as js, css, img, etc., but they have to restart the service every time to take effect. Is there any way to solve this problem? Solve?
what the front-end staff did not put on the server are some static files, such as js, css, img, etc., but they have to restart the service every time to take effect. Is there any way to solve this problem? Solve?
since it is a static file, it is best to return it directly with nginx instead of processing it with an application server.
server {
root /www/data;
location / {
try_files $uri $uri/ @backend;
}
location @backend {
proxy_pass http://your.weblogic.server;
}
location /images/ {
}
location ~ \.(mp3|mp4) {
root /www/media;
}
}