Skip to content

Commit c093a3c

Browse files
Add basic Nginx server configuration
Configured Nginx server with basic settings and cache control headers.
1 parent 6dc5301 commit c093a3c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

nginx.evolution.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
server {
2+
listen 80;
3+
server_name _;
4+
root /usr/share/nginx/html;
5+
index index.html;
6+
7+
location / { try_files $uri /index.html; }
8+
9+
# No uses "must-revalidate" en 'expires'; ponlo como header:
10+
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
11+
add_header Pragma "no-cache" always;
12+
add_header Expires "0" always;
13+
expires off;
14+
}

0 commit comments

Comments
 (0)