Files
tm_app/configs/nginx.conf
T

20 lines
496 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
root /usr/tm/nginx/html;
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-cache, no-store, must-revalidate";
}
location /assets {
expires 1y;
access_log off;
add_header Cache-Control "public";
}
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
}