You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
872 B
36 lines
872 B
worker_processes auto;
|
|
|
|
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 "";
|
|
}
|
|
}
|
|
|
|
|
|
} |