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.

55 lines
1.0 KiB

worker_processes auto;
events { worker_connections 1024; }
http {
upstream digitepa_front_up {
server digitepa_front:4200;
}
upstream digitepa_back_up {
server digitepa_back:44393;
}
#upstream digitepa_keycloak_up {
# server digitepa_keycloak:8080;
#}
#server {
# listen 80 default_server;
# server_name www.epa.apside.com;
#location / {
# return 301 https://$host$request_uri;
#}
#}
server {
#listen 443 ssl;
listen 80;
server_name www.epa.apside.com;
index index.html index.htm;
#ssl_certificate /etc/nginx/ssl/www.epa.apside.com.crt;
#ssl_certificate_key /etc/nginx/ssl/www.epa.apside.com.key;
location / {
proxy_pass http://digitepa_front_up/;
}
location /api {
proxy_pass https://digitepa_back_up/api;
}
location /auth {
proxy_pass http://digitepa_keycloak:8080/auth;
}
}
}