Skip to content

Commit c1dd7c6

Browse files
committed
Attach nginx to port 5000 as well
1 parent 1f96a56 commit c1dd7c6

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎nginx.conf‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,17 @@ server {
1111
gzip_types text/plain text/xml text/css application/x-javascript;
1212
gzip_vary on;
1313
}
14+
15+
server {
16+
listen 5000 default_server;
17+
listen [::]:5000 default_server;
18+
root /usr/share/nginx/html;
19+
index index.html index.;
20+
server_name _;
21+
22+
# Enable gzip
23+
gzip on;
24+
gzip_proxied any;
25+
gzip_types text/plain text/xml text/css application/x-javascript;
26+
gzip_vary on;
27+
}

0 commit comments

Comments
 (0)