-
Notifications
You must be signed in to change notification settings - Fork 3
/
nginx.conf
38 lines (29 loc) · 756 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
events {
worker_connections 4096;
}
http {
include mime.types;
server {
listen 7000;
client_max_body_size 10M;
# server_name acc.top.amsterdam.nl;
gzip on;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
location / {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 55;
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
etag off;
expires -1;
proxy_no_cache 1;
proxy_cache_bypass 1;
gzip_static on;
root /var/www/application;
try_files $uri /index.html;
}
}
}