parent
e6541acd07
commit
36d5b9b5be
@ -1,20 +1,22 @@ |
|||||||
|
worker_processes auto; |
||||||
|
|
||||||
|
events { worker_connections 1024; } |
||||||
|
|
||||||
|
http { |
||||||
|
|
||||||
server { |
server { |
||||||
listen 80; |
listen 4200; |
||||||
sendfile on; |
server_name digitepa_front; |
||||||
default_type application/octet-stream; |
|
||||||
|
|
||||||
gzip on; |
#ssl_certificate /etc/nginx/ssl/www.epa.apside.com.crt; |
||||||
gzip_http_version 1.1; |
#ssl_certificate_key /etc/nginx/ssl/www.epa.apside.com.key; |
||||||
gzip_disable "MSIE [1-6]\."; |
|
||||||
gzip_min_length 256; |
|
||||||
gzip_vary on; |
|
||||||
gzip_proxied expired no-cache no-store private auth; |
|
||||||
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript; |
|
||||||
gzip_comp_level 9; |
|
||||||
|
|
||||||
root /usr/share/nginx/html; |
|
||||||
|
|
||||||
location / { |
location / { |
||||||
try_files $uri $uri/ /index.html =404; |
root /usr/share/nginx/html/EPAClient; |
||||||
|
try_files $uri $uri/ admin/index.html; |
||||||
} |
} |
||||||
} |
} |
||||||
|
|
||||||
|
|
||||||
|
} |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue