Skip to content

Commit 27eb2a6

Browse files
authored
Merge pull request #5 from commitBlob/features/proxy-pass
Features/proxy pass
2 parents ff7e741 + d6ffb0d commit 27eb2a6

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

nginx-custom.conf

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
server {
2-
listen 80;
3-
location / {
4-
root /usr/share/nginx/html;
5-
index index.html index.htm;
6-
try_files $uri $uri/ /index.html =404;
7-
}
8-
}
2+
listen 80;
3+
charset utf-8;
4+
5+
root /usr/share/nginx/html;
6+
index index.html index.htm;
7+
include /etc/nginx/mime.types;
8+
9+
gzip on;
10+
gzip_types text/css text/javascript application/x-javascript application/json;
11+
12+
location / {
13+
try_files $uri $uri/ /index.html;
14+
}
15+
}

0 commit comments

Comments
 (0)