20 lines
429 B
Nginx Configuration File
20 lines
429 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name curriculum.collinasystems.com.mx;
|
|
charset utf-8;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location ~* \.(png|jpg|jpeg|gif|ico|svg|webp|woff|woff2|ttf|otf|css|js)$ {
|
|
expires 30d;
|
|
add_header Cache-Control "public, immutable";
|
|
try_files $uri =404;
|
|
}
|
|
|
|
server_tokens off;
|
|
}
|