-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjwch-web.conf
More file actions
33 lines (27 loc) · 840 Bytes
/
jwch-web.conf
File metadata and controls
33 lines (27 loc) · 840 Bytes
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
server {
client_max_body_size 20M;
listen 80;
server_name jwch.sdut.edu.cn;
root /home/rails/jwch-web/current/public;
rails_env production;
passenger_enabled on;
#access_log logs/host.access.log main;
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
gzip_static on;
expires 1y;
add_header Cache-Control public;
#root html;
#index index.html index.htm;
}
#location / {
# root html;
# index index.html index.htm;
#}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}