web/nginx.conf

15 lines
303 B
Nginx Configuration File
Raw Normal View History

2023-01-18 00:20:04 +01:00
server {
server_name gyiwr.tf;
root /var/www/gyiwr;
index index.html index.htm index.nginx-debian.html;
location / {
try_files $uri $uri/ =404;
}
location ~* \.(png|jpg|jpeg|gif)$ {
expires 365d;
add_header Cache-Control "public, no-transform";
}
}