Compare commits
No commits in common. '32780292d98985e8e7c9ecb524ff7edfbef21527' and 'e6541acd078681cde0f7f90b16f1979a4eb42cd3' have entirely different histories.
32780292d9
...
e6541acd07
@ -1,36 +1,20 @@ |
|||||||
worker_processes auto; |
server { |
||||||
|
listen 80; |
||||||
|
sendfile on; |
||||||
|
default_type application/octet-stream; |
||||||
|
|
||||||
events { worker_connections 1024; } |
gzip on; |
||||||
|
gzip_http_version 1.1; |
||||||
http { |
gzip_disable "MSIE [1-6]\."; |
||||||
|
gzip_min_length 256; |
||||||
server { |
gzip_vary on; |
||||||
listen 4200; |
gzip_proxied expired no-cache no-store private auth; |
||||||
server_name digitepa_front; |
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; |
||||||
#ssl_certificate /etc/nginx/ssl/www.epa.apside.com.crt; |
|
||||||
#ssl_certificate_key /etc/nginx/ssl/www.epa.apside.com.key; |
|
||||||
include /etc/nginx/mime.types; |
|
||||||
|
|
||||||
location / { |
|
||||||
root /usr/share/nginx/html; |
|
||||||
try_files $uri $uri/ /index.html; |
|
||||||
} |
|
||||||
|
|
||||||
location /api { |
|
||||||
proxy_pass http://digitepa_keycloak:8080/; |
|
||||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; |
|
||||||
proxy_buffering off; |
|
||||||
proxy_set_header Accept-Encoding ""; |
|
||||||
} |
|
||||||
|
|
||||||
location /auth { |
|
||||||
proxy_pass http://digitepa_back:44393/; |
|
||||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; |
|
||||||
proxy_buffering off; |
|
||||||
proxy_set_header Accept-Encoding ""; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
|
root /usr/share/nginx/html; |
||||||
|
|
||||||
|
location / { |
||||||
|
try_files $uri $uri/ /index.html =404; |
||||||
|
} |
||||||
} |
} |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue