Compare commits
2 Commits
e6541acd07
...
32780292d9
Author | SHA1 | Date |
---|---|---|
VANNEAU | 32780292d9 | 2 years ago |
VANNEAU | 36d5b9b5be | 3 years ago |
@ -1,20 +1,36 @@ |
||||
server { |
||||
listen 80; |
||||
sendfile on; |
||||
default_type application/octet-stream; |
||||
worker_processes auto; |
||||
|
||||
gzip on; |
||||
gzip_http_version 1.1; |
||||
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; |
||||
events { worker_connections 1024; } |
||||
|
||||
http { |
||||
|
||||
server { |
||||
listen 4200; |
||||
server_name digitepa_front; |
||||
|
||||
#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