-
Notifications
You must be signed in to change notification settings - Fork 0
/
nginx_ui.conf
42 lines (34 loc) · 991 Bytes
/
nginx_ui.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
39
40
41
42
# User Interface Service NGINX File
# File Author: Roberto Y. Guzmán - [email protected]
#
# When building user interface services, they require an nginx configuration file for their multistage build portion of the nginx.
# A copy of this file named "nginx.conf" must be present on each of the user interface services.
# For any doubts please contact this file author.
events {
worker_connections 1024; ## Default: 1024
}
http {
## use mime types
include /etc/nginx/mime.types;
server {
listen 80;
root /usr/share/nginx/html;
location / {
index index.html;
try_files $uri $uri/ /index.html?$query_string;
}
}
gzip on;
gzip_vary on;
gzip_min_length 256;
gzip_proxied any;
gzip_types
text/plain
text/css
text/javascript
application/javascript
application/x-javascript
application/xml
application/json
application/ld+json;
}